#4E2A90#4E2A90

#4E2A90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.158 H 294.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4E2A90
RGBrgb(78, 42, 144)
HSLhsl(261, 55%, 36%)
HSVhsv(261, 71%, 56%)
CMYKcmyk(45.8%, 70.8%, 0%, 43.5%)
CIE-LABlab(27.54, 40.23, -50.46)
CIE-LCHlch(27.54, 64.54, 308.56°)
OKLaboklab(39.31% 0.0645 -0.1444)
OKLCHoklch(39.31% 0.158 294.1)
XYZxyz(9.0025, 5.2890, 26.9267)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A90 #6C902A
analogous
#2A3990 #4E2A90 #812A90
triadic
#4E2A90 #904E2A #2A904E
tetradic
#4E2A90 #902A39 #6C902A #2A9081
square
#4E2A90 #902A39 #6C902A #2A9081
split-complementary
#4E2A90 #90812A #39902A
monochromatic
#1B0E31 #341C61 #4E2A90 #6838BF #8A63D1

Accessibility & contrast

On white

10.21
#4E2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A90
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A90#FFFFFF#000000##FFFFFF
##4E2A901.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#3B435A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2a90;
/* rgb */ color: rgb(78, 42, 144);
/* oklch */ color: oklch(39.3% 0.158 294.1);
Tailwind
colors: {
  custom: {
    50: '#8666b1',
    500: '#4e2a90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a90;
$custom-light: #8666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a90",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 261.176,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.15818,
    "h": 294.1
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#4E2A90
secondary
#98B75E
accent
#DE4AAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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