#4728B7#4728B7

#4728B7 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.0% C 0.207 H 282.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4728B7
RGBrgb(71, 40, 183)
HSLhsl(253, 64%, 44%)
HSVhsv(253, 78%, 72%)
CMYKcmyk(61.2%, 78.1%, 0%, 28.2%)
CIE-LABlab(30.10, 51.46, -69.91)
CIE-LCHlch(30.10, 86.81, 306.35°)
OKLaboklab(42.04% 0.0461 -0.2016)
OKLCHoklch(42.04% 0.207 282.9)
XYZxyz(11.9019, 6.2752, 45.3746)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4728B7 #98B728
analogous
#2850B7 #4728B7 #8E28B7
triadic
#4728B7 #B74728 #28B747
tetradic
#4728B7 #B72850 #98B728 #28B78E
square
#4728B7 #B72850 #98B728 #28B78E
split-complementary
#4728B7 #B78E28 #50B728
monochromatic
#201253 #341D85 #4728B7 #6546D6 #8F78E1

Accessibility & contrast

On white

9.31
#4728B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4728B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4728B7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4728B7#FFFFFF#000000##FFFFFF
##4728B71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4728b7;
/* rgb */ color: rgb(71, 40, 183);
/* oklch */ color: oklch(42.0% 0.207 282.9);
Tailwind
colors: {
  custom: {
    50: '#8867ce',
    500: '#4728b7',
    950: '#000000',
  },
}
SCSS
$custom: #4728b7;
$custom-light: #8867ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4728b7",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 253.007,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.20679,
    "h": 282.9
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#4728B7
secondary
#B6C972
accent
#E741C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4728B7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4728B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva