#4E2084#4E2084

#4E2084 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.156 H 299.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#4E2084
RGBrgb(78, 32, 132)
HSLhsl(268, 61%, 32%)
HSVhsv(268, 76%, 52%)
CMYKcmyk(40.9%, 75.8%, 0%, 48.2%)
CIE-LABlab(24.70, 42.06, -47.63)
CIE-LCHlch(24.70, 63.54, 311.45°)
OKLaboklab(36.97% 0.0771 -0.136)
OKLCHoklch(36.97% 0.156 299.5)
XYZxyz(7.8222, 4.3186, 22.2468)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2084 #568420
analogous
#202484 #4E2084 #802084
triadic
#4E2084 #844E20 #20844E
tetradic
#4E2084 #842024 #568420 #208480
square
#4E2084 #842024 #568420 #208480
split-complementary
#4E2084 #848020 #248420
monochromatic
#140821 #311453 #4E2084 #6B2CB5 #8A4BD3

Accessibility & contrast

On white

11.27
#4E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2084
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2084#FFFFFF#000000##FFFFFF
##4E20841.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#413950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2084;
/* rgb */ color: rgb(78, 32, 132);
/* oklch */ color: oklch(37.0% 0.156 299.5);
Tailwind
colors: {
  custom: {
    50: '#8560a9',
    500: '#4e2084',
    950: '#000000',
  },
}
SCSS
$custom: #4e2084;
$custom-light: #8560a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2084",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 267.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.15636,
    "h": 299.5
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#4E2084
secondary
#84B64A
accent
#E4449A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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