#4E206A#4E206A

#4E206A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.127 H 310.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#4E206A
RGBrgb(78, 32, 106)
HSLhsl(277, 54%, 27%)
HSVhsv(277, 70%, 42%)
CMYKcmyk(26.4%, 69.8%, 0%, 58.4%)
CIE-LABlab(22.63, 35.40, -34.38)
CIE-LCHlch(22.63, 49.35, 315.84°)
OKLaboklab(34.85% 0.0814 -0.0971)
OKLCHoklch(34.85% 0.127 310)
XYZxyz(6.2594, 3.6935, 14.0160)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206A #3C6A20
analogous
#29206A #4E206A #6A2061
triadic
#4E206A #6A4E20 #206A4E
tetradic
#4E206A #6A2920 #3C6A20 #20616A
square
#4E206A #6A2920 #3C6A20 #20616A
split-complementary
#4E206A #616A20 #206A29
monochromatic
#110718 #2B123B #4E206A #712E99 #923FC5

Accessibility & contrast

On white

12.08
#4E206A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E206A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E206A#FFFFFF#000000##FFFFFF
##4E206A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#4A2F42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e206a;
/* rgb */ color: rgb(78, 32, 106);
/* oklch */ color: oklch(34.8% 0.127 310.0);
Tailwind
colors: {
  custom: {
    50: '#825f95',
    500: '#4e206a',
    950: '#000000',
  },
}
SCSS
$custom: #4e206a;
$custom-light: #825f95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206a",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 106
  },
  "hsl": {
    "h": 277.297,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.12669,
    "h": 310
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#4E206A
secondary
#689E48
accent
#DD4B82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E206A

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

Preview Lab → · Contrast checker → · Palette generator →

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