#4E2593#4E2593

#4E2593 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.168 H 294.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4E2593
RGBrgb(78, 37, 147)
HSLhsl(262, 60%, 36%)
HSVhsv(262, 75%, 58%)
CMYKcmyk(46.9%, 74.8%, 0%, 42.4%)
CIE-LABlab(26.87, 43.67, -53.41)
CIE-LCHlch(26.87, 68.99, 309.27°)
OKLaboklab(38.91% 0.0688 -0.153)
OKLCHoklch(38.91% 0.168 294.2)
XYZxyz(9.0685, 5.0492, 28.0949)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2593 #6A9325
analogous
#253393 #4E2593 #852593
triadic
#4E2593 #934E25 #25934E
tetradic
#4E2593 #932533 #6A9325 #259385
square
#4E2593 #932533 #6A9325 #259385
split-complementary
#4E2593 #938525 #339325
monochromatic
#1A0C31 #341962 #4E2593 #6831C4 #8A5CD6

Accessibility & contrast

On white

10.45
#4E2593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2593
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2593#FFFFFF#000000##FFFFFF
##4E25931.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#3A425A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2593;
/* rgb */ color: rgb(78, 37, 147);
/* oklch */ color: oklch(38.9% 0.168 294.2);
Tailwind
colors: {
  custom: {
    50: '#8764b4',
    500: '#4e2593',
    950: '#000000',
  },
}
SCSS
$custom: #4e2593;
$custom-light: #8764b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2593",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 262.364,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.16778,
    "h": 294.2
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#4E2593
secondary
#96BB59
accent
#E345A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2593

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

Preview Lab → · Contrast checker → · Palette generator →

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