#4E2490#4E2490

#4E2490 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.165 H 295.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4E2490
RGBrgb(78, 36, 144)
HSLhsl(263, 60%, 35%)
HSVhsv(263, 75%, 56%)
CMYKcmyk(45.8%, 75%, 0%, 43.5%)
CIE-LABlab(26.43, 43.34, -52.27)
CIE-LCHlch(26.43, 67.91, 309.66°)
OKLaboklab(38.52% 0.0704 -0.1497)
OKLCHoklch(38.52% 0.165 295.2)
XYZxyz(8.8054, 4.8948, 26.8610)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2490 #669024
analogous
#243090 #4E2490 #842490
triadic
#4E2490 #904E24 #24904E
tetradic
#4E2490 #902430 #669024 #249084
square
#4E2490 #902430 #669024 #249084
split-complementary
#4E2490 #908424 #309024
monochromatic
#190C2E #33185F #4E2490 #6930C1 #8959D5

Accessibility & contrast

On white

10.61
#4E2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2490
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2490#FFFFFF#000000##FFFFFF
##4E24901.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2490;
/* rgb */ color: rgb(78, 36, 144);
/* oklch */ color: oklch(38.5% 0.165 295.2);
Tailwind
colors: {
  custom: {
    50: '#8663b1',
    500: '#4e2490',
    950: '#000000',
  },
}
SCSS
$custom: #4e2490;
$custom-light: #8663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2490",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 263.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.16545,
    "h": 295.2
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#4E2490
secondary
#93BA56
accent
#E345A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2490

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

Preview Lab → · Contrast checker → · Palette generator →

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