#4E2DB3#4E2DB3

#4E2DB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.197 H 286.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4E2DB3
RGBrgb(78, 45, 179)
HSLhsl(255, 60%, 44%)
HSVhsv(255, 75%, 70%)
CMYKcmyk(56.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(31.23, 48.73, -65.64)
CIE-LCHlch(31.23, 81.75, 306.59°)
OKLaboklab(42.88% 0.0541 -0.1889)
OKLCHoklch(42.88% 0.197 286)
XYZxyz(12.2145, 6.7504, 43.2984)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DB3 #92B32D
analogous
#2D4FB3 #4E2DB3 #912DB3
triadic
#4E2DB3 #B34E2D #2DB34E
tetradic
#4E2DB3 #B32D4F #92B32D #2DB391
square
#4E2DB3 #B32D4F #92B32D #2DB391
split-complementary
#4E2DB3 #B3912D #4FB32D
monochromatic
#231451 #392182 #4E2DB3 #6C4BD2 #947CDE

Accessibility & contrast

On white

8.94
#4E2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DB3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DB3#FFFFFF#000000##FFFFFF
##4E2DB31.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#1E526E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e2db3;
/* rgb */ color: rgb(78, 45, 179);
/* oklch */ color: oklch(42.9% 0.197 286.0);
Tailwind
colors: {
  custom: {
    50: '#8b6acb',
    500: '#4e2db3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2db3;
$custom-light: #8b6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2db3",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 254.776,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.19655,
    "h": 286
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#4E2DB3
secondary
#B3C775
accent
#E345BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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