#4E0F5A#4E0F5A

#4E0F5A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.132 H 320.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4E0F5A
RGBrgb(78, 15, 90)
HSLhsl(290, 71%, 21%)
HSVhsv(290, 83%, 35%)
CMYKcmyk(13.3%, 83.3%, 0%, 64.7%)
CIE-LABlab(18.80, 39.30, -30.00)
CIE-LCHlch(18.80, 49.44, 322.65°)
OKLaboklab(31.74% 0.1022 -0.0841)
OKLCHoklch(31.74% 0.132 320.5)
XYZxyz(5.1580, 2.6998, 9.9203)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F5A #1B5A0F
analogous
#280F5A #4E0F5A #5A0F40
triadic
#4E0F5A #5A4E0F #0F5A4E
tetradic
#4E0F5A #5A280F #1B5A0F #0F405A
square
#4E0F5A #5A280F #1B5A0F #0F405A
split-complementary
#4E0F5A #405A0F #0F5A28
monochromatic
#17041A #210626 #4E0F5A #7B188E #A920C3

Accessibility & contrast

On white

13.64
#4E0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F5A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F5A#FFFFFF#000000##FFFFFF
##4E0F5A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#173058
Tritanopia (blue-blind)
#4E1F34
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0f5a;
/* rgb */ color: rgb(78, 15, 90);
/* oklch */ color: oklch(31.7% 0.132 320.5);
Tailwind
colors: {
  custom: {
    50: '#835689',
    500: '#4e0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f5a;
$custom-light: #835689;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f5a",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 290.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.13237,
    "h": 320.5
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#4E0F5A
secondary
#419431
accent
#EE3A57
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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