#4E2599#4E2599

#4E2599 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.175 H 292.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4E2599
RGBrgb(78, 37, 153)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(49%, 75.8%, 0%, 40%)
CIE-LABlab(27.41, 45.33, -56.21)
CIE-LCHlch(27.41, 72.21, 308.88°)
OKLaboklab(39.46% 0.0673 -0.1613)
OKLCHoklch(39.46% 0.175 292.6)
XYZxyz(9.5516, 5.2424, 30.6394)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2599 #709925
analogous
#253699 #4E2599 #882599
triadic
#4E2599 #994E25 #25994E
tetradic
#4E2599 #992536 #709925 #259988
square
#4E2599 #992536 #709925 #259988
split-complementary
#4E2599 #998825 #369925
monochromatic
#1C0D36 #351968 #4E2599 #6731CA #8B60D9

Accessibility & contrast

On white

10.25
#4E2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2599
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2599#FFFFFF#000000##FFFFFF
##4E25991.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#36445D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2599;
/* rgb */ color: rgb(78, 37, 153);
/* oklch */ color: oklch(39.5% 0.175 292.6);
Tailwind
colors: {
  custom: {
    50: '#8764b8',
    500: '#4e2599',
    950: '#000000',
  },
}
SCSS
$custom: #4e2599;
$custom-light: #8764b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2599",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 261.207,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.17472,
    "h": 292.6
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#4E2599
secondary
#9BBE5C
accent
#E444AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2599

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

Preview Lab → · Contrast checker → · Palette generator →

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