#4E206F#4E206F

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

Color values

HEX#4E206F
RGBrgb(78, 32, 111)
HSLhsl(275, 55%, 28%)
HSVhsv(275, 71%, 44%)
CMYKcmyk(29.7%, 71.2%, 0%, 56.5%)
CIE-LABlab(23.00, 36.65, -37.02)
CIE-LCHlch(23.00, 52.09, 314.71°)
OKLaboklab(35.23% 0.0809 -0.1049)
OKLCHoklch(35.23% 0.132 307.6)
XYZxyz(6.5270, 3.8005, 15.4256)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206F #416F20
analogous
#26206F #4E206F #6F2068
triadic
#4E206F #6F4E20 #206F4E
tetradic
#4E206F #6F2620 #416F20 #20686F
square
#4E206F #6F2620 #416F20 #20686F
split-complementary
#4E206F #686F20 #206F26
monochromatic
#110718 #2D123F #4E206F #6F2E9F #9041C8

Accessibility & contrast

On white

11.93
#4E206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E206F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E206F#FFFFFF#000000##FFFFFF
##4E206F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#493145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e206f;
/* rgb */ color: rgb(78, 32, 111);
/* oklch */ color: oklch(35.2% 0.132 307.6);
Tailwind
colors: {
  custom: {
    50: '#835f99',
    500: '#4e206f',
    950: '#000000',
  },
}
SCSS
$custom: #4e206f;
$custom-light: #835f99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206f",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 274.937,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.13241,
    "h": 307.6
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#4E206F
secondary
#6EA348
accent
#DF4988
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E206F

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

Preview Lab → · Contrast checker → · Palette generator →

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