#4E2B88#4E2B88

#4E2B88 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.147 H 296.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4E2B88
RGBrgb(78, 43, 136)
HSLhsl(263, 52%, 35%)
HSVhsv(263, 68%, 53%)
CMYKcmyk(42.6%, 68.4%, 0%, 46.7%)
CIE-LABlab(27.09, 37.42, -46.24)
CIE-LCHlch(27.09, 59.49, 308.98°)
OKLaboklab(38.78% 0.0647 -0.132)
OKLCHoklch(38.78% 0.147 296.1)
XYZxyz(8.4485, 5.1249, 23.8318)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B88 #65882B
analogous
#2B3688 #4E2B88 #7D2B88
triadic
#4E2B88 #884E2B #2B884E
tetradic
#4E2B88 #882B36 #65882B #2B887D
square
#4E2B88 #882B36 #65882B #2B887D
split-complementary
#4E2B88 #887D2B #36882B
monochromatic
#190E2B #331C5A #4E2B88 #693AB6 #8961CD

Accessibility & contrast

On white

10.37
#4E2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B88
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B88#FFFFFF#000000##FFFFFF
##4E2B881.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#3F4155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2b88;
/* rgb */ color: rgb(78, 43, 136);
/* oklch */ color: oklch(38.8% 0.147 296.1);
Tailwind
colors: {
  custom: {
    50: '#8567ab',
    500: '#4e2b88',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b88;
$custom-light: #8567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b88",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 262.581,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38776,
    "c": 0.14702,
    "h": 296.1
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#4E2B88
secondary
#92B35C
accent
#DB4CA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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