#4E206D#4E206D

#4E206D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.130 H 308.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4E206D
RGBrgb(78, 32, 109)
HSLhsl(276, 55%, 28%)
HSVhsv(276, 71%, 43%)
CMYKcmyk(28.4%, 70.6%, 0%, 57.3%)
CIE-LABlab(22.85, 36.15, -35.97)
CIE-LCHlch(22.85, 50.99, 315.14°)
OKLaboklab(35.08% 0.0811 -0.1018)
OKLCHoklch(35.08% 0.13 308.5)
XYZxyz(6.4182, 3.7570, 14.8521)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206D #3F6D20
analogous
#27206D #4E206D #6D2066
triadic
#4E206D #6D4E20 #206D4E
tetradic
#4E206D #6D2720 #3F6D20 #20666D
square
#4E206D #6D2720 #3F6D20 #20666D
split-complementary
#4E206D #666D20 #206D27
monochromatic
#110718 #2C123E #4E206D #702E9C #9140C7

Accessibility & contrast

On white

11.99
#4E206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E206D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E206D#FFFFFF#000000##FFFFFF
##4E206D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#493043
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e206d;
/* rgb */ color: rgb(78, 32, 109);
/* oklch */ color: oklch(35.1% 0.130 308.5);
Tailwind
colors: {
  custom: {
    50: '#835f97',
    500: '#4e206d',
    950: '#000000',
  },
}
SCSS
$custom: #4e206d;
$custom-light: #835f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206d",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 275.844,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.13013,
    "h": 308.5
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#4E206D
secondary
#6CA148
accent
#DE4A85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E206D

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

Preview Lab → · Contrast checker → · Palette generator →

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