#4E0F5C#4E0F5C

#4E0F5C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.134 H 319.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4E0F5C
RGBrgb(78, 15, 92)
HSLhsl(289, 72%, 21%)
HSVhsv(289, 84%, 36%)
CMYKcmyk(15.2%, 83.7%, 0%, 63.9%)
CIE-LABlab(18.95, 39.72, -31.10)
CIE-LCHlch(18.95, 50.44, 321.94°)
OKLaboklab(31.9% 0.1019 -0.0873)
OKLCHoklch(31.9% 0.134 319.4)
XYZxyz(5.2442, 2.7343, 10.3747)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F5C #1D5C0F
analogous
#270F5C #4E0F5C #5C0F43
triadic
#4E0F5C #5C4E0F #0F5C4E
tetradic
#4E0F5C #5C270F #1D5C0F #0F435C
square
#4E0F5C #5C270F #1D5C0F #0F435C
split-complementary
#4E0F5C #435C0F #0F5C27
monochromatic
#16041A #210627 #4E0F5C #7B1891 #A720C5

Accessibility & contrast

On white

13.58
#4E0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E0F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F5C
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F5C#FFFFFF#000000##FFFFFF
##4E0F5C1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#4E2035
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0f5c;
/* rgb */ color: rgb(78, 15, 92);
/* oklch */ color: oklch(31.9% 0.134 319.4);
Tailwind
colors: {
  custom: {
    50: '#83568b',
    500: '#4e0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f5c;
$custom-light: #83568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f5c",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 289.091,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.13423,
    "h": 319.4
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#4E0F5C
secondary
#449531
accent
#EF395A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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