#4E0345#4E0345

#4E0345 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.4% C 0.127 H 334.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#4E0345
RGBrgb(78, 3, 69)
HSLhsl(307, 93%, 16%)
HSVhsv(307, 96%, 31%)
CMYKcmyk(0%, 96.2%, 11.5%, 69.4%)
CIE-LABlab(16.08, 39.18, -20.00)
CIE-LCHlch(16.08, 43.99, 332.95°)
OKLaboklab(29.36% 0.1142 -0.0549)
OKLCHoklch(29.36% 0.127 334.3)
XYZxyz(4.2487, 2.1149, 5.8135)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0345 #034E0C
analogous
#31034E #4E0345 #4E031F
triadic
#4E0345 #454E03 #03454E
tetradic
#4E0345 #4E3103 #034E0C #031F4E
square
#4E0345 #4E3103 #034E0C #031F4E
split-complementary
#4E0345 #1F4E03 #034E31
monochromatic
#1D011A #1D011A #4E0345 #890579 #C408AD

Accessibility & contrast

On white

14.76
#4E0345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4E0345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0345
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0345#FFFFFF#000000##FFFFFF
##4E03451.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012147
Deuteranopia (green-blind)
#212C43
Tritanopia (blue-blind)
#520C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0345;
/* rgb */ color: rgb(78, 3, 69);
/* oklch */ color: oklch(29.4% 0.127 334.3);
Tailwind
colors: {
  custom: {
    50: '#835179',
    500: '#4e0345',
    950: '#000000',
  },
}
SCSS
$custom: #4e0345;
$custom-light: #835179;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0345",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 69
  },
  "hsl": {
    "h": 307.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29357,
    "c": 0.12671,
    "h": 334.3
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#4E0345
secondary
#1E8E2C
accent
#FF4329
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0209
muted
#7C787B

Preview Lab

Preview with #4E0345

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

Preview Lab → · Contrast checker → · Palette generator →

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