#4E2389#4E2389

#4E2389 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.159 H 297.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4E2389
RGBrgb(78, 35, 137)
HSLhsl(265, 59%, 34%)
HSVhsv(265, 74%, 54%)
CMYKcmyk(43.1%, 74.5%, 0%, 46.3%)
CIE-LABlab(25.65, 41.93, -49.21)
CIE-LCHlch(25.65, 64.65, 310.44°)
OKLaboklab(37.78% 0.073 -0.1407)
OKLCHoklch(37.78% 0.159 297.4)
XYZxyz(8.2571, 4.6278, 24.1203)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2389 #5E8923
analogous
#232B89 #4E2389 #812389
triadic
#4E2389 #894E23 #23894E
tetradic
#4E2389 #89232B #5E8923 #238981
square
#4E2389 #89232B #5E8923 #238981
split-complementary
#4E2389 #898123 #2B8923
monochromatic
#160A28 #321758 #4E2389 #6A2FBA #8953D3

Accessibility & contrast

On white

10.91
#4E2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2389
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2389#FFFFFF#000000##FFFFFF
##4E23891.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#3F3D54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2389;
/* rgb */ color: rgb(78, 35, 137);
/* oklch */ color: oklch(37.8% 0.159 297.4);
Tailwind
colors: {
  custom: {
    50: '#8562ac',
    500: '#4e2389',
    950: '#000000',
  },
}
SCSS
$custom: #4e2389;
$custom-light: #8562ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2389",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 265.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37775,
    "c": 0.15851,
    "h": 297.4
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#4E2389
secondary
#8CB751
accent
#E245A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4E2389

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

Preview Lab → · Contrast checker → · Palette generator →

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