#4E2C8F#4E2C8F

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

Color values

HEX#4E2C8F
RGBrgb(78, 44, 143)
HSLhsl(261, 53%, 37%)
HSVhsv(261, 69%, 56%)
CMYKcmyk(45.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(27.86, 38.85, -49.34)
CIE-LCHlch(27.86, 62.80, 308.22°)
OKLaboklab(39.51% 0.0626 -0.1411)
OKLCHoklch(39.51% 0.154 293.9)
XYZxyz(8.9991, 5.4040, 26.5502)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C8F #6D8F2C
analogous
#2C3C8F #4E2C8F #802C8F
triadic
#4E2C8F #8F4E2C #2C8F4E
tetradic
#4E2C8F #8F2C3C #6D8F2C #2C8F80
square
#4E2C8F #8F2C3C #6D8F2C #2C8F80
split-complementary
#4E2C8F #8F802C #3C8F2C
monochromatic
#1B0F31 #341E60 #4E2C8F #683ABE #8A66D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2C8F#FFFFFF#000000##FFFFFF
##4E2C8F1.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)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3C445A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2c8f;
/* rgb */ color: rgb(78, 44, 143);
/* oklch */ color: oklch(39.5% 0.154 293.9);
Tailwind
colors: {
  custom: {
    50: '#8568b1',
    500: '#4e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c8f;
$custom-light: #8568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c8f",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 260.606,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.15437,
    "h": 293.9
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#4E2C8F
secondary
#99B661
accent
#DC4BAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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