#4E2184#4E2184

#4E2184 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.155 H 299.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2184
RGBrgb(78, 33, 132)
HSLhsl(267, 60%, 32%)
HSVhsv(267, 75%, 52%)
CMYKcmyk(40.9%, 75%, 0%, 48.2%)
CIE-LABlab(24.87, 41.58, -47.35)
CIE-LCHlch(24.87, 63.02, 311.29°)
OKLaboklab(37.09% 0.0761 -0.1352)
OKLCHoklch(37.09% 0.155 299.4)
XYZxyz(7.8496, 4.3733, 22.2559)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2184 #578421
analogous
#212584 #4E2184 #802184
triadic
#4E2184 #844E21 #21844E
tetradic
#4E2184 #842125 #578421 #218480
square
#4E2184 #842125 #578421 #218480
split-complementary
#4E2184 #848021 #258421
monochromatic
#140922 #311553 #4E2184 #6B2DB5 #8A4DD2

Accessibility & contrast

On white

11.20
#4E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2184
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2184#FFFFFF#000000##FFFFFF
##4E21841.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#413A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2184;
/* rgb */ color: rgb(78, 33, 132);
/* oklch */ color: oklch(37.1% 0.155 299.4);
Tailwind
colors: {
  custom: {
    50: '#8561a9',
    500: '#4e2184',
    950: '#000000',
  },
}
SCSS
$custom: #4e2184;
$custom-light: #8561a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2184",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 267.273,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.15517,
    "h": 299.4
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#4E2184
secondary
#85B64B
accent
#E3459B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2184

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

Preview Lab → · Contrast checker → · Palette generator →

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