#4E2485#4E2485

#4E2485 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.153 H 298.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#4E2485
RGBrgb(78, 36, 133)
HSLhsl(266, 57%, 33%)
HSVhsv(266, 73%, 52%)
CMYKcmyk(41.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(25.49, 40.35, -46.97)
CIE-LCHlch(25.49, 61.92, 310.66°)
OKLaboklab(37.56% 0.0728 -0.1341)
OKLCHoklch(37.56% 0.153 298.5)
XYZxyz(8.0053, 4.5748, 22.6470)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2485 #5B8524
analogous
#242B85 #4E2485 #7E2485
triadic
#4E2485 #854E24 #24854E
tetradic
#4E2485 #85242B #5B8524 #24857E
square
#4E2485 #85242B #5B8524 #24857E
split-complementary
#4E2485 #857E24 #2B8524
monochromatic
#160A25 #321755 #4E2485 #6A31B5 #8953D0

Accessibility & contrast

On white

10.97
#4E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2485
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2485#FFFFFF#000000##FFFFFF
##4E24851.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#413C52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2485;
/* rgb */ color: rgb(78, 36, 133);
/* oklch */ color: oklch(37.6% 0.153 298.5);
Tailwind
colors: {
  custom: {
    50: '#8562a9',
    500: '#4e2485',
    950: '#000000',
  },
}
SCSS
$custom: #4e2485;
$custom-light: #8562a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2485",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 265.979,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.15262,
    "h": 298.5
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#4E2485
secondary
#89B450
accent
#E1479E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2485

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

Preview Lab → · Contrast checker → · Palette generator →

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