#4E2BA0#4E2BA0

#4E2BA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.176 H 290.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4E2BA0
RGBrgb(78, 43, 160)
HSLhsl(258, 58%, 40%)
HSVhsv(258, 73%, 63%)
CMYKcmyk(51.2%, 73.1%, 0%, 37.3%)
CIE-LABlab(29.12, 44.27, -57.68)
CIE-LCHlch(29.12, 72.71, 307.51°)
OKLaboklab(40.86% 0.0603 -0.1656)
OKLCHoklch(40.86% 0.176 290)
XYZxyz(10.3491, 5.8851, 33.8415)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BA0 #7DA02B
analogous
#2B42A0 #4E2BA0 #892BA0
triadic
#4E2BA0 #A04E2B #2BA04E
tetradic
#4E2BA0 #A02B42 #7DA02B #2BA089
square
#4E2BA0 #A02B42 #7DA02B #2BA089
split-complementary
#4E2BA0 #A0892B #42A02B
monochromatic
#1F1140 #361E70 #4E2BA0 #683DCB #8D6ED8

Accessibility & contrast

On white

9.65
#4E2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BA0
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BA0#FFFFFF#000000##FFFFFF
##4E2BA01.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#314A63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2ba0;
/* rgb */ color: rgb(78, 43, 160);
/* oklch */ color: oklch(40.9% 0.176 290.0);
Tailwind
colors: {
  custom: {
    50: '#8868bd',
    500: '#4e2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ba0;
$custom-light: #8868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ba0",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 257.949,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.17625,
    "h": 290
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#4E2BA0
secondary
#A5BF68
accent
#E147B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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