#4E2993#4E2993

#4E2993 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.163 H 293.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E2993
RGBrgb(78, 41, 147)
HSLhsl(261, 56%, 37%)
HSVhsv(261, 72%, 58%)
CMYKcmyk(46.9%, 72.1%, 0%, 42.4%)
CIE-LABlab(27.61, 41.62, -52.21)
CIE-LCHlch(27.61, 66.77, 308.56°)
OKLaboklab(39.43% 0.0649 -0.1496)
OKLCHoklch(39.43% 0.163 293.5)
XYZxyz(9.1998, 5.3119, 28.1387)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2993 #6E9329
analogous
#293993 #4E2993 #832993
triadic
#4E2993 #934E29 #29934E
tetradic
#4E2993 #932939 #6E9329 #299383
square
#4E2993 #932939 #6E9329 #299383
split-complementary
#4E2993 #938329 #399329
monochromatic
#1B0E33 #351C63 #4E2993 #6736C3 #8A63D3

Accessibility & contrast

On white

10.18
#4E2993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2993
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2993#FFFFFF#000000##FFFFFF
##4E29931.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#3A445B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2993;
/* rgb */ color: rgb(78, 41, 147);
/* oklch */ color: oklch(39.4% 0.163 293.5);
Tailwind
colors: {
  custom: {
    50: '#8666b4',
    500: '#4e2993',
    950: '#000000',
  },
}
SCSS
$custom: #4e2993;
$custom-light: #8666b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2993",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 260.943,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.16305,
    "h": 293.5
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#4E2993
secondary
#9AB95E
accent
#E048AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2993

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

Preview Lab → · Contrast checker → · Palette generator →

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