#4E2A93#4E2A93

#4E2A93 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.162 H 293.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E2A93
RGBrgb(78, 42, 147)
HSLhsl(261, 56%, 37%)
HSVhsv(261, 71%, 58%)
CMYKcmyk(46.9%, 71.4%, 0%, 42.4%)
CIE-LABlab(27.80, 41.09, -51.90)
CIE-LCHlch(27.80, 66.19, 308.37°)
OKLaboklab(39.57% 0.064 -0.1486)
OKLCHoklch(39.57% 0.162 293.3)
XYZxyz(9.2349, 5.3819, 28.1504)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A93 #6F932A
analogous
#2A3B93 #4E2A93 #832A93
triadic
#4E2A93 #934E2A #2A934E
tetradic
#4E2A93 #932A3B #6F932A #2A9383
square
#4E2A93 #932A3B #6F932A #2A9383
split-complementary
#4E2A93 #93832A #3B932A
monochromatic
#1B0F34 #351C63 #4E2A93 #6738C3 #8A65D3

Accessibility & contrast

On white

10.11
#4E2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A93
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A93#FFFFFF#000000##FFFFFF
##4E2A931.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#3A445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2a93;
/* rgb */ color: rgb(78, 42, 147);
/* oklch */ color: oklch(39.6% 0.162 293.3);
Tailwind
colors: {
  custom: {
    50: '#8667b4',
    500: '#4e2a93',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a93;
$custom-light: #8667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a93",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 260.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.16182,
    "h": 293.3
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#4E2A93
secondary
#9AB960
accent
#DF49AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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