#4E2590#4E2590

#4E2590 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.164 H 295.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4E2590
RGBrgb(78, 37, 144)
HSLhsl(263, 59%, 35%)
HSVhsv(263, 74%, 56%)
CMYKcmyk(45.8%, 74.3%, 0%, 43.5%)
CIE-LABlab(26.61, 42.84, -51.99)
CIE-LCHlch(26.61, 67.36, 309.49°)
OKLaboklab(38.64% 0.0695 -0.1489)
OKLCHoklch(38.64% 0.164 295)
XYZxyz(8.8361, 4.9562, 26.8712)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2590 #679025
analogous
#253190 #4E2590 #832590
triadic
#4E2590 #904E25 #25904E
tetradic
#4E2590 #902531 #679025 #259083
square
#4E2590 #902531 #679025 #259083
split-complementary
#4E2590 #908325 #319025
monochromatic
#190C2F #34185F #4E2590 #6832C1 #895BD5

Accessibility & contrast

On white

10.55
#4E2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2590
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2590#FFFFFF#000000##FFFFFF
##4E25901.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#3B4158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2590;
/* rgb */ color: rgb(78, 37, 144);
/* oklch */ color: oklch(38.6% 0.164 295.0);
Tailwind
colors: {
  custom: {
    50: '#8664b1',
    500: '#4e2590',
    950: '#000000',
  },
}
SCSS
$custom: #4e2590;
$custom-light: #8664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2590",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 262.991,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.16429,
    "h": 295
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#4E2590
secondary
#94B957
accent
#E245A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2590

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

Preview Lab → · Contrast checker → · Palette generator →

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