#4E2D93#4E2D93

#4E2D93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.158 H 292.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4E2D93
RGBrgb(78, 45, 147)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 69%, 58%)
CMYKcmyk(46.9%, 69.4%, 0%, 42.4%)
CIE-LABlab(28.39, 39.45, -50.94)
CIE-LCHlch(28.39, 64.43, 307.76°)
OKLaboklab(39.99% 0.0609 -0.1458)
OKLCHoklch(39.99% 0.158 292.7)
XYZxyz(9.3453, 5.6028, 28.1872)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D93 #72932D
analogous
#2D3F93 #4E2D93 #812D93
triadic
#4E2D93 #934E2D #2D934E
tetradic
#4E2D93 #932D3F #72932D #2D9381
square
#4E2D93 #932D3F #72932D #2D9381
split-complementary
#4E2D93 #93812D #3F932D
monochromatic
#1C1035 #351F64 #4E2D93 #673BC2 #8B69D1

Accessibility & contrast

On white

9.90
#4E2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D93
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D93#FFFFFF#000000##FFFFFF
##4E2D931.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2d93;
/* rgb */ color: rgb(78, 45, 147);
/* oklch */ color: oklch(40.0% 0.158 292.7);
Tailwind
colors: {
  custom: {
    50: '#8668b3',
    500: '#4e2d93',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d93;
$custom-light: #8668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d93",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 259.412,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.15803,
    "h": 292.7
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#4E2D93
secondary
#9DB864
accent
#DD4BAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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