#4E1769#4E1769

#4E1769 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.138 H 311.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4E1769
RGBrgb(78, 23, 105)
HSLhsl(280, 64%, 25%)
HSVhsv(280, 78%, 41%)
CMYKcmyk(25.7%, 78.1%, 0%, 58.8%)
CIE-LABlab(21.03, 39.45, -36.31)
CIE-LCHlch(21.03, 53.62, 317.37°)
OKLaboklab(33.68% 0.0919 -0.1027)
OKLCHoklch(33.68% 0.138 311.8)
XYZxyz(5.9976, 3.2526, 13.6737)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1769 #326917
analogous
#251769 #4E1769 #69175B
triadic
#4E1769 #694E17 #17694E
tetradic
#4E1769 #692517 #326917 #175B69
square
#4E1769 #692517 #326917 #175B69
split-complementary
#4E1769 #5B6917 #176925
monochromatic
#130519 #290C37 #4E1769 #73229B #992DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E1769#FFFFFF#000000##FFFFFF
##4E17691.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)
#00306B
Deuteranopia (green-blind)
#0A3467
Tritanopia (blue-blind)
#4B2A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1769;
/* rgb */ color: rgb(78, 23, 105);
/* oklch */ color: oklch(33.7% 0.138 311.8);
Tailwind
colors: {
  custom: {
    50: '#835a94',
    500: '#4e1769',
    950: '#000000',
  },
}
SCSS
$custom: #4e1769;
$custom-light: #835a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1769",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 280.244,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.13784,
    "h": 311.8
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#4E1769
secondary
#5D9F3D
accent
#E74178
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1769

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

Preview Lab → · Contrast checker → · Palette generator →

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