#4E2A95#4E2A95

#4E2A95 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.164 H 292.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4E2A95
RGBrgb(78, 42, 149)
HSLhsl(260, 56%, 37%)
HSVhsv(260, 72%, 58%)
CMYKcmyk(47.7%, 71.8%, 0%, 41.6%)
CIE-LABlab(27.97, 41.65, -52.85)
CIE-LCHlch(27.97, 67.29, 308.24°)
OKLaboklab(39.74% 0.0636 -0.1514)
OKLCHoklch(39.74% 0.164 292.8)
XYZxyz(9.3932, 5.4452, 28.9841)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A95 #71952A
analogous
#2A3B95 #4E2A95 #842A95
triadic
#4E2A95 #954E2A #2A954E
tetradic
#4E2A95 #952A3B #71952A #2A9584
square
#4E2A95 #952A3B #71952A #2A9584
split-complementary
#4E2A95 #95842A #3B952A
monochromatic
#1C0F36 #351D65 #4E2A95 #6737C5 #8B66D4

Accessibility & contrast

On white

10.05
#4E2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A95
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A95#FFFFFF#000000##FFFFFF
##4E2A951.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#38455C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2a95;
/* rgb */ color: rgb(78, 42, 149);
/* oklch */ color: oklch(39.7% 0.164 292.8);
Tailwind
colors: {
  custom: {
    50: '#8667b5',
    500: '#4e2a95',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a95;
$custom-light: #8667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a95",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 260.187,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.16424,
    "h": 292.8
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#4E2A95
secondary
#9CBA61
accent
#DF48AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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