#4E2E93#4E2E93

#4E2E93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.157 H 292.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4E2E93
RGBrgb(78, 46, 147)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 69%, 58%)
CMYKcmyk(46.9%, 68.7%, 0%, 42.4%)
CIE-LABlab(28.59, 38.89, -50.61)
CIE-LCHlch(28.59, 63.82, 307.54°)
OKLaboklab(40.14% 0.0598 -0.1449)
OKLCHoklch(40.14% 0.157 292.4)
XYZxyz(9.3839, 5.6800, 28.2000)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E93 #73932E
analogous
#2E4093 #4E2E93 #802E93
triadic
#4E2E93 #934E2E #2E934E
tetradic
#4E2E93 #932E40 #73932E #2E9380
square
#4E2E93 #932E40 #73932E #2E9380
split-complementary
#4E2E93 #93802E #40932E
monochromatic
#1D1136 #351F64 #4E2E93 #673DC2 #8B6BD1

Accessibility & contrast

On white

9.83
#4E2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E93
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E93#FFFFFF#000000##FFFFFF
##4E2E931.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#39475C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2e93;
/* rgb */ color: rgb(78, 46, 147);
/* oklch */ color: oklch(40.1% 0.157 292.4);
Tailwind
colors: {
  custom: {
    50: '#8669b3',
    500: '#4e2e93',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e93;
$custom-light: #8669b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e93",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 259.01,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.15673,
    "h": 292.4
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#4E2E93
secondary
#9EB865
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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