#4E0F5B#4E0F5B

#4E0F5B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.133 H 320.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4E0F5B
RGBrgb(78, 15, 91)
HSLhsl(290, 72%, 21%)
HSVhsv(290, 84%, 36%)
CMYKcmyk(14.3%, 83.5%, 0%, 64.3%)
CIE-LABlab(18.87, 39.51, -30.55)
CIE-LCHlch(18.87, 49.94, 322.29°)
OKLaboklab(31.82% 0.1021 -0.0858)
OKLCHoklch(31.82% 0.133 320)
XYZxyz(5.2008, 2.7170, 10.1460)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F5B #1C5B0F
analogous
#280F5B #4E0F5B #5B0F42
triadic
#4E0F5B #5B4E0F #0F5B4E
tetradic
#4E0F5B #5B280F #1C5B0F #0F425B
square
#4E0F5B #5B280F #1C5B0F #0F425B
split-complementary
#4E0F5B #425B0F #0F5B28
monochromatic
#17041A #210626 #4E0F5B #7B1890 #A820C4

Accessibility & contrast

On white

13.61
#4E0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F5B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F5B#FFFFFF#000000##FFFFFF
##4E0F5B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#163059
Tritanopia (blue-blind)
#4E1F35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0f5b;
/* rgb */ color: rgb(78, 15, 91);
/* oklch */ color: oklch(31.8% 0.133 320.0);
Tailwind
colors: {
  custom: {
    50: '#83568a',
    500: '#4e0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f5b;
$custom-light: #83568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f5b",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 289.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31819,
    "c": 0.1333,
    "h": 320
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#4E0F5B
secondary
#429531
accent
#EE3958
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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