#4E2066#4E2066

#4E2066 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.122 H 312.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2066
RGBrgb(78, 32, 102)
HSLhsl(279, 52%, 26%)
HSVhsv(279, 69%, 40%)
CMYKcmyk(23.5%, 68.6%, 0%, 60%)
CIE-LABlab(22.35, 34.42, -32.23)
CIE-LCHlch(22.35, 47.16, 316.88°)
OKLaboklab(34.55% 0.0816 -0.0908)
OKLCHoklch(34.55% 0.122 312)
XYZxyz(6.0562, 3.6122, 12.9460)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2066 #386620
analogous
#2B2066 #4E2066 #66205B
triadic
#4E2066 #664E20 #20664E
tetradic
#4E2066 #662B20 #386620 #205B66
square
#4E2066 #662B20 #386620 #205B66
split-complementary
#4E2066 #5B6620 #20662B
monochromatic
#120717 #2A1137 #4E2066 #722F95 #953EC2

Accessibility & contrast

On white

12.19
#4E2066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E2066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2066
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2066#FFFFFF#000000##FFFFFF
##4E20661.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#1A3664
Tritanopia (blue-blind)
#4B2E40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2066;
/* rgb */ color: rgb(78, 32, 102);
/* oklch */ color: oklch(34.6% 0.122 312.0);
Tailwind
colors: {
  custom: {
    50: '#825f92',
    500: '#4e2066',
    950: '#000000',
  },
}
SCSS
$custom: #4e2066;
$custom-light: #825f92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2066",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 279.429,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34551,
    "c": 0.12211,
    "h": 312
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#4E2066
secondary
#649A48
accent
#DC4C7D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2066

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

Preview Lab → · Contrast checker → · Palette generator →

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