#4E2D8F#4E2D8F

#4E2D8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.153 H 293.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E2D8F
RGBrgb(78, 45, 143)
HSLhsl(260, 52%, 37%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(45.5%, 68.5%, 0%, 43.9%)
CIE-LABlab(28.06, 38.30, -49.00)
CIE-LCHlch(28.06, 62.19, 308.01°)
OKLaboklab(39.65% 0.0615 -0.1401)
OKLCHoklch(39.65% 0.153 293.7)
XYZxyz(9.0368, 5.4794, 26.5628)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D8F #6E8F2D
analogous
#2D3D8F #4E2D8F #7F2D8F
triadic
#4E2D8F #8F4E2D #2D8F4E
tetradic
#4E2D8F #8F2D3D #6E8F2D #2D8F7F
square
#4E2D8F #8F2D3D #6E8F2D #2D8F7F
split-complementary
#4E2D8F #8F7F2D #3D8F2D
monochromatic
#1B1032 #351E60 #4E2D8F #673CBE #8A67CF

Accessibility & contrast

On white

10.02
#4E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D8F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D8F#FFFFFF#000000##FFFFFF
##4E2D8F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3C455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2d8f;
/* rgb */ color: rgb(78, 45, 143);
/* oklch */ color: oklch(39.7% 0.153 293.7);
Tailwind
colors: {
  custom: {
    50: '#8568b1',
    500: '#4e2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d8f;
$custom-light: #8568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d8f",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 260.204,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.15305,
    "h": 293.7
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#4E2D8F
secondary
#9AB662
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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