#4E2E88#4E2E88

#4E2E88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.143 H 295.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2E88
RGBrgb(78, 46, 136)
HSLhsl(261, 49%, 36%)
HSVhsv(261, 66%, 53%)
CMYKcmyk(42.6%, 66.2%, 0%, 46.7%)
CIE-LABlab(27.71, 35.72, -45.23)
CIE-LCHlch(27.71, 57.63, 308.30°)
OKLaboklab(39.23% 0.0613 -0.129)
OKLCHoklch(39.23% 0.143 295.4)
XYZxyz(8.5616, 5.3511, 23.8696)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E88 #68882E
analogous
#2E3B88 #4E2E88 #7B2E88
triadic
#4E2E88 #884E2E #2E884E
tetradic
#4E2E88 #882E3B #68882E #2E887B
square
#4E2E88 #882E3B #68882E #2E887B
split-complementary
#4E2E88 #887B2E #3B882E
monochromatic
#1A0F2D #341F5A #4E2E88 #683DB6 #8A65CB

Accessibility & contrast

On white

10.14
#4E2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E88
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E88#FFFFFF#000000##FFFFFF
##4E2E881.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2e88;
/* rgb */ color: rgb(78, 46, 136);
/* oklch */ color: oklch(39.2% 0.143 295.4);
Tailwind
colors: {
  custom: {
    50: '#8469ab',
    500: '#4e2e88',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e88;
$custom-light: #8469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e88",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 261.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.14285,
    "h": 295.4
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#4E2E88
secondary
#95B260
accent
#D94FA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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