#4E2DB1#4E2DB1

#4E2DB1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.194 H 286.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4E2DB1
RGBrgb(78, 45, 177)
HSLhsl(255, 59%, 44%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(55.9%, 74.6%, 0%, 30.6%)
CIE-LABlab(31.04, 48.15, -64.76)
CIE-LCHlch(31.04, 80.70, 306.63°)
OKLaboklab(42.69% 0.0546 -0.1864)
OKLCHoklch(42.69% 0.194 286.3)
XYZxyz(12.0137, 6.6701, 42.2409)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DB1 #90B12D
analogous
#2D4EB1 #4E2DB1 #902DB1
triadic
#4E2DB1 #B14E2D #2DB14E
tetradic
#4E2DB1 #B12D4E #90B12D #2DB190
square
#4E2DB1 #B12D4E #90B12D #2DB190
split-complementary
#4E2DB1 #B1902D #4EB12D
monochromatic
#23144F #382180 #4E2DB1 #6C4AD1 #947BDD

Accessibility & contrast

On white

9.00
#4E2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DB1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DB1#FFFFFF#000000##FFFFFF
##4E2DB11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#21526D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e2db1;
/* rgb */ color: rgb(78, 45, 177);
/* oklch */ color: oklch(42.7% 0.194 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a6ac9',
    500: '#4e2db1',
    950: '#000000',
  },
}
SCSS
$custom: #4e2db1;
$custom-light: #8a6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2db1",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 255,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.19421,
    "h": 286.3
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#4E2DB1
secondary
#B1C674
accent
#E345BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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