#4E206E#4E206E

#4E206E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 308.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#4E206E
RGBrgb(78, 32, 110)
HSLhsl(275, 55%, 28%)
HSVhsv(275, 71%, 43%)
CMYKcmyk(29.1%, 70.9%, 0%, 56.9%)
CIE-LABlab(22.93, 36.40, -36.49)
CIE-LCHlch(22.93, 51.54, 314.92°)
OKLaboklab(35.15% 0.081 -0.1033)
OKLCHoklch(35.15% 0.131 308.1)
XYZxyz(6.4723, 3.7786, 15.1372)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206E #406E20
analogous
#27206E #4E206E #6E2067
triadic
#4E206E #6E4E20 #206E4E
tetradic
#4E206E #6E2720 #406E20 #20676E
square
#4E206E #6E2720 #406E20 #20676E
split-complementary
#4E206E #676E20 #206E27
monochromatic
#110718 #2C123F #4E206E #702E9D #9041C8

Accessibility & contrast

On white

11.96
#4E206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E206E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E206E#FFFFFF#000000##FFFFFF
##4E206E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#493144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e206e;
/* rgb */ color: rgb(78, 32, 110);
/* oklch */ color: oklch(35.2% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#835f98',
    500: '#4e206e',
    950: '#000000',
  },
}
SCSS
$custom: #4e206e;
$custom-light: #835f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206e",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 275.385,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.13127,
    "h": 308.1
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#4E206E
secondary
#6DA248
accent
#DE4A87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E206E

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

Preview Lab → · Contrast checker → · Palette generator →

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