#4E0F6A#4E0F6A

#4E0F6A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.147 H 312.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4E0F6A
RGBrgb(78, 15, 106)
HSLhsl(282, 75%, 24%)
HSVhsv(282, 86%, 42%)
CMYKcmyk(26.4%, 85.8%, 0%, 58.4%)
CIE-LABlab(20.05, 42.73, -38.55)
CIE-LCHlch(20.05, 57.55, 317.95°)
OKLaboklab(33.02% 0.0991 -0.1092)
OKLCHoklch(33.02% 0.147 312.2)
XYZxyz(5.9137, 3.0021, 13.9008)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F6A #2B6A0F
analogous
#200F6A #4E0F6A #6A0F58
triadic
#4E0F6A #6A4E0F #0F6A4E
tetradic
#4E0F6A #6A200F #2B6A0F #0F586A
square
#4E0F6A #6A200F #2B6A0F #0F586A
split-complementary
#4E0F6A #586A0F #0F6A20
monochromatic
#14041B #270734 #4E0F6A #7517A0 #9D1ED5

Accessibility & contrast

On white

13.12
#4E0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F6A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F6A#FFFFFF#000000##FFFFFF
##4E0F6A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#4B263E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e0f6a;
/* rgb */ color: rgb(78, 15, 106);
/* oklch */ color: oklch(33.0% 0.147 312.2);
Tailwind
colors: {
  custom: {
    50: '#845795',
    500: '#4e0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f6a;
$custom-light: #845795;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f6a",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 281.538,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.14747,
    "h": 312.2
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#4E0F6A
secondary
#55A232
accent
#F23670
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4E0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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