#4E0F58#4E0F58

#4E0F58 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.131 H 321.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#4E0F58
RGBrgb(78, 15, 88)
HSLhsl(292, 71%, 20%)
HSVhsv(292, 83%, 35%)
CMYKcmyk(11.4%, 83%, 0%, 65.5%)
CIE-LABlab(18.65, 38.90, -28.89)
CIE-LCHlch(18.65, 48.45, 323.40°)
OKLaboklab(31.59% 0.1024 -0.0809)
OKLCHoklch(31.59% 0.131 321.7)
XYZxyz(5.0740, 2.6662, 9.4780)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F58 #19580F
analogous
#2A0F58 #4E0F58 #580F3D
triadic
#4E0F58 #584E0F #0F584E
tetradic
#4E0F58 #582A0F #19580F #0F3D58
square
#4E0F58 #582A0F #19580F #0F3D58
split-complementary
#4E0F58 #3D580F #0F582A
monochromatic
#17041A #200624 #4E0F58 #7C188C #AB21C1

Accessibility & contrast

On white

13.70
#4E0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F58
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F58#FFFFFF#000000##FFFFFF
##4E0F581.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#193056
Tritanopia (blue-blind)
#4F1E33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e0f58;
/* rgb */ color: rgb(78, 15, 88);
/* oklch */ color: oklch(31.6% 0.131 321.7);
Tailwind
colors: {
  custom: {
    50: '#835687',
    500: '#4e0f58',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f58;
$custom-light: #835687;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f58",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 291.781,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.13052,
    "h": 321.7
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#4E0F58
secondary
#3E9231
accent
#EE3A53
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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