#4E2592#4E2592

#4E2592 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.167 H 294.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2592
RGBrgb(78, 37, 146)
HSLhsl(263, 60%, 36%)
HSVhsv(263, 75%, 57%)
CMYKcmyk(46.6%, 74.7%, 0%, 42.7%)
CIE-LABlab(26.79, 43.39, -52.93)
CIE-LCHlch(26.79, 68.45, 309.34°)
OKLaboklab(38.82% 0.069 -0.1517)
OKLCHoklch(38.82% 0.167 294.5)
XYZxyz(8.9903, 5.0179, 27.6834)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2592 #699225
analogous
#253292 #4E2592 #842592
triadic
#4E2592 #924E25 #25924E
tetradic
#4E2592 #922532 #699225 #259284
square
#4E2592 #922532 #699225 #259284
split-complementary
#4E2592 #928425 #329225
monochromatic
#1A0C30 #341961 #4E2592 #6831C3 #8A5CD6

Accessibility & contrast

On white

10.48
#4E2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2592
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2592#FFFFFF#000000##FFFFFF
##4E25921.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#3A4259
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2592;
/* rgb */ color: rgb(78, 37, 146);
/* oklch */ color: oklch(38.8% 0.167 294.5);
Tailwind
colors: {
  custom: {
    50: '#8664b3',
    500: '#4e2592',
    950: '#000000',
  },
}
SCSS
$custom: #4e2592;
$custom-light: #8664b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2592",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 262.569,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38823,
    "c": 0.16662,
    "h": 294.5
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#4E2592
secondary
#96BA58
accent
#E345A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2592

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

Preview Lab → · Contrast checker → · Palette generator →

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