#4E2E8A#4E2E8A

#4E2E8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.145 H 294.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4E2E8A
RGBrgb(78, 46, 138)
HSLhsl(261, 50%, 36%)
HSVhsv(261, 67%, 54%)
CMYKcmyk(43.5%, 66.7%, 0%, 45.9%)
CIE-LABlab(27.87, 36.29, -46.22)
CIE-LCHlch(27.87, 58.76, 308.14°)
OKLaboklab(39.39% 0.061 -0.132)
OKLCHoklch(39.39% 0.145 294.8)
XYZxyz(8.7051, 5.4085, 24.6251)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E8A #6A8A2E
analogous
#2E3C8A #4E2E8A #7C2E8A
triadic
#4E2E8A #8A4E2E #2E8A4E
tetradic
#4E2E8A #8A2E3C #6A8A2E #2E8A7C
square
#4E2E8A #8A2E3C #6A8A2E #2E8A7C
split-complementary
#4E2E8A #8A7C2E #3C8A2E
monochromatic
#1A0F2E #341F5C #4E2E8A #683DB8 #8A66CC

Accessibility & contrast

On white

10.09
#4E2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E8A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E8A#FFFFFF#000000##FFFFFF
##4E2E8A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#3E4458
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2e8a;
/* rgb */ color: rgb(78, 46, 138);
/* oklch */ color: oklch(39.4% 0.145 294.8);
Tailwind
colors: {
  custom: {
    50: '#8569ad',
    500: '#4e2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e8a;
$custom-light: #8569ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e8a",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 260.87,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.14539,
    "h": 294.8
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#4E2E8A
secondary
#96B361
accent
#DA4EA9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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