#4E2385#4E2385

#4E2385 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.154 H 298.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4E2385
RGBrgb(78, 35, 133)
HSLhsl(266, 58%, 33%)
HSVhsv(266, 74%, 52%)
CMYKcmyk(41.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(25.31, 40.86, -47.26)
CIE-LCHlch(25.31, 62.47, 310.84°)
OKLaboklab(37.43% 0.0739 -0.135)
OKLCHoklch(37.43% 0.154 298.7)
XYZxyz(7.9755, 4.5151, 22.6371)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2385 #5A8523
analogous
#232985 #4E2385 #7F2385
triadic
#4E2385 #854E23 #23854E
tetradic
#4E2385 #852329 #5A8523 #23857F
square
#4E2385 #852329 #5A8523 #23857F
split-complementary
#4E2385 #857F23 #298523
monochromatic
#150924 #321655 #4E2385 #6A30B5 #8951D1

Accessibility & contrast

On white

11.04
#4E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2385
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2385#FFFFFF#000000##FFFFFF
##4E23851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2385;
/* rgb */ color: rgb(78, 35, 133);
/* oklch */ color: oklch(37.4% 0.154 298.7);
Tailwind
colors: {
  custom: {
    50: '#8562a9',
    500: '#4e2385',
    950: '#000000',
  },
}
SCSS
$custom: #4e2385;
$custom-light: #8562a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2385",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 266.327,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.15387,
    "h": 298.7
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#4E2385
secondary
#88B54F
accent
#E2469D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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