#4E209D#4E209D

#4E209D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.184 H 292.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4E209D
RGBrgb(78, 32, 157)
HSLhsl(262, 66%, 37%)
HSVhsv(262, 80%, 62%)
CMYKcmyk(50.3%, 79.6%, 0%, 38.4%)
CIE-LABlab(26.98, 48.74, -59.37)
CIE-LCHlch(26.98, 76.81, 309.39°)
OKLaboklab(39.27% 0.0702 -0.1705)
OKLCHoklch(39.27% 0.184 292.4)
XYZxyz(9.7425, 5.0867, 32.3603)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E209D #6F9D20
analogous
#20309D #4E209D #8D209D
triadic
#4E209D #9D4E20 #209D4E
tetradic
#4E209D #9D2030 #6F9D20 #209D8D
square
#4E209D #9D2030 #6F9D20 #209D8D
split-complementary
#4E209D #9D8D20 #309D20
monochromatic
#1B0B37 #35166A #4E209D #672AD0 #8A5ADD

Accessibility & contrast

On white

10.41
#4E209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E209D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E209D#FFFFFF#000000##FFFFFF
##4E209D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#34445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e209d;
/* rgb */ color: rgb(78, 32, 157);
/* oklch */ color: oklch(39.3% 0.184 292.4);
Tailwind
colors: {
  custom: {
    50: '#8862bb',
    500: '#4e209d',
    950: '#000000',
  },
}
SCSS
$custom: #4e209d;
$custom-light: #8862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e209d",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 262.08,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.18435,
    "h": 292.4
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#4E209D
secondary
#9AC157
accent
#E93FAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4E209D

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

Preview Lab → · Contrast checker → · Palette generator →

#4E209D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva