#4E2D88#4E2D88

#4E2D88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.144 H 295.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4E2D88
RGBrgb(78, 45, 136)
HSLhsl(262, 50%, 35%)
HSVhsv(262, 67%, 53%)
CMYKcmyk(42.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(27.50, 36.29, -45.57)
CIE-LCHlch(27.50, 58.26, 308.53°)
OKLaboklab(39.07% 0.0624 -0.13)
OKLCHoklch(39.07% 0.144 295.6)
XYZxyz(8.5230, 5.2739, 23.8567)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D88 #67882D
analogous
#2D3A88 #4E2D88 #7B2D88
triadic
#4E2D88 #884E2D #2D884E
tetradic
#4E2D88 #882D3A #67882D #2D887B
square
#4E2D88 #882D3A #67882D #2D887B
split-complementary
#4E2D88 #887B2D #3A882D
monochromatic
#190F2C #341E5A #4E2D88 #683CB6 #8964CC

Accessibility & contrast

On white

10.22
#4E2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D88
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D88#FFFFFF#000000##FFFFFF
##4E2D881.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#3F4256
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2d88;
/* rgb */ color: rgb(78, 45, 136);
/* oklch */ color: oklch(39.1% 0.144 295.6);
Tailwind
colors: {
  custom: {
    50: '#8568ab',
    500: '#4e2d88',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d88;
$custom-light: #8568ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d88",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 261.758,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.14425,
    "h": 295.6
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#4E2D88
secondary
#94B25F
accent
#DA4EA7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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