#4E2BAE#4E2BAE

#4E2BAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.193 H 287.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E2BAE
RGBrgb(78, 43, 174)
HSLhsl(256, 60%, 43%)
HSVhsv(256, 75%, 68%)
CMYKcmyk(55.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(30.41, 48.29, -64.01)
CIE-LCHlch(30.41, 80.19, 307.03°)
OKLaboklab(42.16% 0.0569 -0.1842)
OKLCHoklch(42.16% 0.193 287.2)
XYZxyz(11.6435, 6.4028, 40.6585)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BAE #8BAE2B
analogous
#2B49AE #4E2BAE #902BAE
triadic
#4E2BAE #AE4E2B #2BAE4E
tetradic
#4E2BAE #AE2B49 #8BAE2B #2BAE90
square
#4E2BAE #AE2B49 #8BAE2B #2BAE90
split-complementary
#4E2BAE #AE902B #49AE2B
monochromatic
#22134C #381F7D #4E2BAE #6B45D1 #9276DD

Accessibility & contrast

On white

9.21
#4E2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BAE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BAE#FFFFFF#000000##FFFFFF
##4E2BAE1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#254F6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2bae;
/* rgb */ color: rgb(78, 43, 174);
/* oklch */ color: oklch(42.2% 0.193 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a68c7',
    500: '#4e2bae',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bae;
$custom-light: #8a68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bae",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 256.031,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.19276,
    "h": 287.2
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#4E2BAE
secondary
#AEC570
accent
#E444B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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