#4E2A92#4E2A92

#4E2A92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.161 H 293.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2A92
RGBrgb(78, 42, 146)
HSLhsl(261, 55%, 37%)
HSVhsv(261, 71%, 57%)
CMYKcmyk(46.6%, 71.2%, 0%, 42.7%)
CIE-LABlab(27.71, 40.80, -51.42)
CIE-LCHlch(27.71, 65.64, 308.43°)
OKLaboklab(39.48% 0.0641 -0.1472)
OKLCHoklch(39.48% 0.161 293.5)
XYZxyz(9.1567, 5.3507, 27.7389)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A92 #6E922A
analogous
#2A3A92 #4E2A92 #822A92
triadic
#4E2A92 #924E2A #2A924E
tetradic
#4E2A92 #922A3A #6E922A #2A9282
square
#4E2A92 #922A3A #6E922A #2A9282
split-complementary
#4E2A92 #92822A #3A922A
monochromatic
#1B0F33 #351C62 #4E2A92 #6738C2 #8A64D2

Accessibility & contrast

On white

10.14
#4E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A92
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A92#FFFFFF#000000##FFFFFF
##4E2A921.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#3A445B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2a92;
/* rgb */ color: rgb(78, 42, 146);
/* oklch */ color: oklch(39.5% 0.161 293.5);
Tailwind
colors: {
  custom: {
    50: '#8667b3',
    500: '#4e2a92',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a92;
$custom-light: #8667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a92",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 260.769,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.16061,
    "h": 293.5
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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