#4E2E8F#4E2E8F

#4E2E8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.152 H 293.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2E8F
RGBrgb(78, 46, 143)
HSLhsl(260, 51%, 37%)
HSVhsv(260, 68%, 56%)
CMYKcmyk(45.5%, 67.8%, 0%, 43.9%)
CIE-LABlab(28.27, 37.73, -48.67)
CIE-LCHlch(28.27, 61.58, 307.79°)
OKLaboklab(39.8% 0.0604 -0.1392)
OKLCHoklch(39.8% 0.152 293.5)
XYZxyz(9.0755, 5.5566, 26.5756)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E8F #6F8F2E
analogous
#2E3E8F #4E2E8F #7F2E8F
triadic
#4E2E8F #8F4E2E #2E8F4E
tetradic
#4E2E8F #8F2E3E #6F8F2E #2E8F7F
square
#4E2E8F #8F2E3E #6F8F2E #2E8F7F
split-complementary
#4E2E8F #8F7F2E #3E8F2E
monochromatic
#1B1032 #351F61 #4E2E8F #673DBD #8A69CF

Accessibility & contrast

On white

9.95
#4E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2E8F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E8F#FFFFFF#000000##FFFFFF
##4E2E8F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#3B455A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2e8f;
/* rgb */ color: rgb(78, 46, 143);
/* oklch */ color: oklch(39.8% 0.152 293.5);
Tailwind
colors: {
  custom: {
    50: '#8569b1',
    500: '#4e2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e8f;
$custom-light: #8569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e8f",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 259.794,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.15171,
    "h": 293.5
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#4E2E8F
secondary
#9AB663
accent
#DB4DAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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