#4E2E8E#4E2E8E

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

Color values

HEX#4E2E8E
RGBrgb(78, 46, 142)
HSLhsl(260, 51%, 37%)
HSVhsv(260, 68%, 56%)
CMYKcmyk(45.1%, 67.6%, 0%, 44.3%)
CIE-LABlab(28.18, 37.45, -48.18)
CIE-LCHlch(28.18, 61.02, 307.85°)
OKLaboklab(39.72% 0.0605 -0.1377)
OKLCHoklch(39.72% 0.15 293.7)
XYZxyz(9.0000, 5.5264, 26.1785)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E8E #6E8E2E
analogous
#2E3E8E #4E2E8E #7E2E8E
triadic
#4E2E8E #8E4E2E #2E8E4E
tetradic
#4E2E8E #8E2E3E #6E8E2E #2E8E7E
square
#4E2E8E #8E2E3E #6E8E2E #2E8E7E
split-complementary
#4E2E8E #8E7E2E #3E8E2E
monochromatic
#1B1032 #351F60 #4E2E8E #673DBC #8A68CE

Accessibility & contrast

On white

9.97
#4E2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E8E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E8E#FFFFFF#000000##FFFFFF
##4E2E8E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#3C455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2e8e;
/* rgb */ color: rgb(78, 46, 142);
/* oklch */ color: oklch(39.7% 0.150 293.7);
Tailwind
colors: {
  custom: {
    50: '#8569b0',
    500: '#4e2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e8e;
$custom-light: #8569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e8e",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.15046,
    "h": 293.7
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#4E2E8E
secondary
#9AB563
accent
#DB4DAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4E2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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