#4E2E8D#4E2E8D

#4E2E8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.149 H 294.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4E2E8D
RGBrgb(78, 46, 141)
HSLhsl(260, 51%, 37%)
HSVhsv(260, 67%, 55%)
CMYKcmyk(44.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(28.10, 37.16, -47.69)
CIE-LCHlch(28.10, 60.46, 307.92°)
OKLaboklab(39.63% 0.0607 -0.1363)
OKLCHoklch(39.63% 0.149 294)
XYZxyz(8.9253, 5.4965, 25.7848)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E8D #6D8D2E
analogous
#2E3D8D #4E2E8D #7E2E8D
triadic
#4E2E8D #8D4E2E #2E8D4E
tetradic
#4E2E8D #8D2E3D #6D8D2E #2E8D7E
square
#4E2E8D #8D2E3D #6D8D2E #2E8D7E
split-complementary
#4E2E8D #8D7E2E #3D8D2E
monochromatic
#1B1031 #341F5F #4E2E8D #683DBB #8A68CE

Accessibility & contrast

On white

10.00
#4E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E8D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E8D#FFFFFF#000000##FFFFFF
##4E2E8D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#3D4559
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2e8d;
/* rgb */ color: rgb(78, 46, 141);
/* oklch */ color: oklch(39.6% 0.149 294.0);
Tailwind
colors: {
  custom: {
    50: '#8569af',
    500: '#4e2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e8d;
$custom-light: #8569af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e8d",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 260.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.14919,
    "h": 294
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#4E2E8D
secondary
#99B562
accent
#DA4EAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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