#4E206B#4E206B

#4E206B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.128 H 309.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4E206B
RGBrgb(78, 32, 107)
HSLhsl(277, 54%, 27%)
HSVhsv(277, 70%, 42%)
CMYKcmyk(27.1%, 70.1%, 0%, 58%)
CIE-LABlab(22.70, 35.65, -34.91)
CIE-LCHlch(22.70, 49.90, 315.60°)
OKLaboklab(34.92% 0.0813 -0.0987)
OKLCHoklch(34.92% 0.128 309.5)
XYZxyz(6.3117, 3.7144, 14.2915)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206B #3D6B20
analogous
#29206B #4E206B #6B2063
triadic
#4E206B #6B4E20 #206B4E
tetradic
#4E206B #6B2920 #3D6B20 #20636B
square
#4E206B #6B2920 #3D6B20 #20636B
split-complementary
#4E206B #636B20 #206B29
monochromatic
#110718 #2C123C #4E206B #702E9A #9240C6

Accessibility & contrast

On white

12.05
#4E206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E206B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E206B#FFFFFF#000000##FFFFFF
##4E206B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#4A3042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e206b;
/* rgb */ color: rgb(78, 32, 107);
/* oklch */ color: oklch(34.9% 0.128 309.5);
Tailwind
colors: {
  custom: {
    50: '#835f96',
    500: '#4e206b',
    950: '#000000',
  },
}
SCSS
$custom: #4e206b;
$custom-light: #835f96;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206b",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 276.8,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34924,
    "c": 0.12783,
    "h": 309.5
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#4E206B
secondary
#6A9F48
accent
#DD4A83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E206B

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

Preview Lab → · Contrast checker → · Palette generator →

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