#4E1452#4E1452

#4E1452 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.7% C 0.119 H 325.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4E1452
RGBrgb(78, 20, 82)
HSLhsl(296, 61%, 20%)
HSVhsv(296, 76%, 32%)
CMYKcmyk(4.9%, 75.6%, 0%, 67.8%)
CIE-LABlab(18.93, 35.73, -24.41)
CIE-LCHlch(18.93, 43.28, 325.66°)
OKLaboklab(31.66% 0.0975 -0.0678)
OKLCHoklch(31.66% 0.119 325.2)
XYZxyz(4.9149, 2.7295, 8.2490)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1452 #185214
analogous
#2F1452 #4E1452 #521437
triadic
#4E1452 #524E14 #14524E
tetradic
#4E1452 #522F14 #185214 #143752
square
#4E1452 #522F14 #185214 #143752
split-complementary
#4E1452 #375214 #14522F
monochromatic
#170619 #1F0821 #4E1452 #7D2083 #AC2CB4

Accessibility & contrast

On white

13.59
#4E1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1452
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1452#FFFFFF#000000##FFFFFF
##4E14521.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062954
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#501E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1452;
/* rgb */ color: rgb(78, 20, 82);
/* oklch */ color: oklch(31.7% 0.119 325.2);
Tailwind
colors: {
  custom: {
    50: '#825883',
    500: '#4e1452',
    950: '#000000',
  },
}
SCSS
$custom: #4e1452;
$custom-light: #825883;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1452",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 296.129,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31657,
    "c": 0.11877,
    "h": 325.2
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#4E1452
secondary
#3D8A38
accent
#E4444E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1452

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

Preview Lab → · Contrast checker → · Palette generator →

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