#4E2DB9#4E2DB9

#4E2DB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.204 H 285.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4E2DB9
RGBrgb(78, 45, 185)
HSLhsl(254, 61%, 45%)
HSVhsv(254, 76%, 73%)
CMYKcmyk(57.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(31.80, 50.47, -68.26)
CIE-LCHlch(31.80, 84.89, 306.48°)
OKLaboklab(43.46% 0.0526 -0.1966)
OKLCHoklch(43.46% 0.204 285)
XYZxyz(12.8346, 6.9985, 46.5641)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DB9 #98B92D
analogous
#2D52B9 #4E2DB9 #942DB9
triadic
#4E2DB9 #B94E2D #2DB94E
tetradic
#4E2DB9 #B92D52 #98B92D #2DB994
square
#4E2DB9 #B92D52 #98B92D #2DB994
split-complementary
#4E2DB9 #B9942D #52B92D
monochromatic
#241557 #392188 #4E2DB9 #6E4FD4 #9780E0

Accessibility & contrast

On white

8.75
#4E2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DB9
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DB9#FFFFFF#000000##FFFFFF
##4E2DB91.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#145571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e2db9;
/* rgb */ color: rgb(78, 45, 185);
/* oklch */ color: oklch(43.5% 0.204 285.0);
Tailwind
colors: {
  custom: {
    50: '#8c6acf',
    500: '#4e2db9',
    950: '#000000',
  },
}
SCSS
$custom: #4e2db9;
$custom-light: #8c6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2db9",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 254.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.20353,
    "h": 285
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#4E2DB9
secondary
#B6C979
accent
#E444BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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