#4E1348#4E1348

#4E1348 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.9% C 0.111 H 332.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4E1348
RGBrgb(78, 19, 72)
HSLhsl(306, 61%, 19%)
HSVhsv(306, 76%, 31%)
CMYKcmyk(0%, 75.6%, 7.7%, 69.4%)
CIE-LABlab(18.16, 34.24, -18.80)
CIE-LCHlch(18.16, 39.06, 331.23°)
OKLaboklab(30.91% 0.0983 -0.0516)
OKLCHoklch(30.91% 0.111 332.3)
XYZxyz(4.5445, 2.5537, 6.3832)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1348 #134E19
analogous
#37134E #4E1348 #4E132B
triadic
#4E1348 #484E13 #13484E
tetradic
#4E1348 #4E3713 #134E19 #132B4E
square
#4E1348 #4E3713 #134E19 #132B4E
split-complementary
#4E1348 #2B4E13 #134E37
monochromatic
#190617 #1D071B #4E1348 #7F1F75 #B02BA3

Accessibility & contrast

On white

13.90
#4E1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1348
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1348#FFFFFF#000000##FFFFFF
##4E13481.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274A
Deuteranopia (green-blind)
#252F47
Tritanopia (blue-blind)
#52192B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1348;
/* rgb */ color: rgb(78, 19, 72);
/* oklch */ color: oklch(30.9% 0.111 332.3);
Tailwind
colors: {
  custom: {
    50: '#82577b',
    500: '#4e1348',
    950: '#000000',
  },
}
SCSS
$custom: #4e1348;
$custom-light: #82577b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1348",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 306.102,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30906,
    "c": 0.11102,
    "h": 332.3
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#4E1348
secondary
#36873E
accent
#E45444
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1348

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

Preview Lab → · Contrast checker → · Palette generator →

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