#4E1E58#4E1E58

#4E1E58 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.3% C 0.110 H 320.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4E1E58
RGBrgb(78, 30, 88)
HSLhsl(290, 49%, 23%)
HSVhsv(290, 66%, 35%)
CMYKcmyk(11.4%, 65.9%, 0%, 65.5%)
CIE-LABlab(21.03, 32.21, -25.10)
CIE-LCHlch(21.03, 40.84, 322.08°)
OKLaboklab(33.3% 0.0845 -0.0699)
OKLCHoklch(33.3% 0.11 320.4)
XYZxyz(5.3674, 3.2531, 9.5758)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E58 #28581E
analogous
#311E58 #4E1E58 #581E45
triadic
#4E1E58 #584E1E #1E584E
tetradic
#4E1E58 #58311E #28581E #1E4558
square
#4E1E58 #58311E #28581E #1E4558
split-complementary
#4E1E58 #45581E #1E5831
monochromatic
#140817 #260E2A #4E1E58 #762E86 #9F3DB3

Accessibility & contrast

On white

12.72
#4E1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E58
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E58#FFFFFF#000000##FFFFFF
##4E1E581.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#233457
Tritanopia (blue-blind)
#4F2738
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e58;
/* rgb */ color: rgb(78, 30, 88);
/* oklch */ color: oklch(33.3% 0.110 320.4);
Tailwind
colors: {
  custom: {
    50: '#825d87',
    500: '#4e1e58',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e58;
$custom-light: #825d87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e58",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 289.655,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33299,
    "c": 0.10968,
    "h": 320.4
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#4E1E58
secondary
#518D45
accent
#D94F67
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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