#4E2DC3#4E2DC3

#4E2DC3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.215 H 283.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2DC3
RGBrgb(78, 45, 195)
HSLhsl(253, 63%, 47%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(60%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.78, 53.35, -72.55)
CIE-LCHlch(32.78, 90.05, 306.33°)
OKLaboklab(44.44% 0.0499 -0.2091)
OKLCHoklch(44.44% 0.215 283.4)
XYZxyz(13.9276, 7.4357, 52.3205)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DC3 #A2C32D
analogous
#2D57C3 #4E2DC3 #992DC3
triadic
#4E2DC3 #C34E2D #2DC34E
tetradic
#4E2DC3 #C32D57 #A2C32D #2DC399
square
#4E2DC3 #C32D57 #A2C32D #2DC399
split-complementary
#4E2DC3 #C3992D #57C32D
monochromatic
#261660 #3A2291 #4E2DC3 #7255D8 #9B87E3

Accessibility & contrast

On white

8.44
#4E2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DC3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DC3#FFFFFF#000000##FFFFFF
##4E2DC31.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e2dc3;
/* rgb */ color: rgb(78, 45, 195);
/* oklch */ color: oklch(44.4% 0.215 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bd6',
    500: '#4e2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2dc3;
$custom-light: #8d6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2dc3",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 253.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.21502,
    "h": 283.4
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#4E2DC3
secondary
#BCCD7F
accent
#E642C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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