#4E2A89#4E2A89

#4E2A89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.150 H 296.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2A89
RGBrgb(78, 42, 137)
HSLhsl(263, 53%, 35%)
HSVhsv(263, 69%, 54%)
CMYKcmyk(43.1%, 69.3%, 0%, 46.3%)
CIE-LABlab(26.97, 38.26, -47.06)
CIE-LCHlch(26.97, 60.65, 309.11°)
OKLaboklab(38.71% 0.0657 -0.1344)
OKLCHoklch(38.71% 0.15 296)
XYZxyz(8.4840, 5.0816, 24.1959)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A89 #65892A
analogous
#2A3589 #4E2A89 #7E2A89
triadic
#4E2A89 #894E2A #2A894E
tetradic
#4E2A89 #892A35 #65892A #2A897E
square
#4E2A89 #892A35 #65892A #2A897E
split-complementary
#4E2A89 #897E2A #35892A
monochromatic
#190D2B #331C5A #4E2A89 #6938B8 #895FCE

Accessibility & contrast

On white

10.41
#4E2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A89
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A89#FFFFFF#000000##FFFFFF
##4E2A891.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#3F4156
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2a89;
/* rgb */ color: rgb(78, 42, 137);
/* oklch */ color: oklch(38.7% 0.150 296.0);
Tailwind
colors: {
  custom: {
    50: '#8566ac',
    500: '#4e2a89',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a89;
$custom-light: #8566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a89",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 262.737,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.14961,
    "h": 296
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#4E2A89
secondary
#92B45B
accent
#DC4BA5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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