#4E2BA9#4E2BA9

#4E2BA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.187 H 288.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2BA9
RGBrgb(78, 43, 169)
HSLhsl(257, 59%, 42%)
HSVhsv(257, 75%, 66%)
CMYKcmyk(53.8%, 74.6%, 0%, 33.7%)
CIE-LABlab(29.94, 46.86, -61.78)
CIE-LCHlch(29.94, 77.54, 307.18°)
OKLaboklab(41.69% 0.0582 -0.1776)
OKLCHoklch(41.69% 0.187 288.1)
XYZxyz(11.1651, 6.2115, 38.1390)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BA9 #86A92B
analogous
#2B47A9 #4E2BA9 #8D2BA9
triadic
#4E2BA9 #A94E2B #2BA94E
tetradic
#4E2BA9 #A92B47 #86A92B #2BA98D
square
#4E2BA9 #A92B47 #86A92B #2BA98D
split-complementary
#4E2BA9 #A98D2B #47A92B
monochromatic
#211247 #371F78 #4E2BA9 #6942CF #9073DB

Accessibility & contrast

On white

9.36
#4E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BA9
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BA9#FFFFFF#000000##FFFFFF
##4E2BA91.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#2A4D68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e2ba9;
/* rgb */ color: rgb(78, 43, 169);
/* oklch */ color: oklch(41.7% 0.187 288.1);
Tailwind
colors: {
  custom: {
    50: '#8968c4',
    500: '#4e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ba9;
$custom-light: #8968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ba9",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 256.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.18691,
    "h": 288.1
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#4E2BA9
secondary
#ABC36D
accent
#E345B7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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