#4E1E61#4E1E61

#4E1E61 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.120 H 315.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4E1E61
RGBrgb(78, 30, 97)
HSLhsl(283, 53%, 25%)
HSVhsv(283, 69%, 38%)
CMYKcmyk(19.6%, 69.1%, 0%, 62%)
CIE-LABlab(21.62, 34.27, -30.11)
CIE-LCHlch(21.62, 45.62, 318.69°)
OKLaboklab(33.92% 0.0845 -0.0846)
OKLCHoklch(33.92% 0.12 315)
XYZxyz(5.7635, 3.4115, 11.6618)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E61 #31611E
analogous
#2C1E61 #4E1E61 #611E53
triadic
#4E1E61 #614E1E #1E614E
tetradic
#4E1E61 #612C1E #31611E #1E5361
square
#4E1E61 #612C1E #31611E #1E5361
split-complementary
#4E1E61 #53611E #1E612C
monochromatic
#130717 #281032 #4E1E61 #742C90 #993BBE

Accessibility & contrast

On white

12.48
#4E1E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E61
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E61#FFFFFF#000000##FFFFFF
##4E1E611.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033163
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#4D2B3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1e61;
/* rgb */ color: rgb(78, 30, 97);
/* oklch */ color: oklch(33.9% 0.120 315.0);
Tailwind
colors: {
  custom: {
    50: '#825e8e',
    500: '#4e1e61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e61;
$custom-light: #825e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e61",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 282.985,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33918,
    "c": 0.11956,
    "h": 315
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#4E1E61
secondary
#5C9645
accent
#DC4C75
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E61

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

Preview Lab → · Contrast checker → · Palette generator →

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