#4E3293#4E3293

#4E3293 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.151 H 291.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4E3293
RGBrgb(78, 50, 147)
HSLhsl(257, 49%, 39%)
HSVhsv(257, 66%, 58%)
CMYKcmyk(46.9%, 66%, 0%, 42.4%)
CIE-LABlab(29.43, 36.61, -49.24)
CIE-LCHlch(29.43, 61.35, 306.63°)
OKLaboklab(40.74% 0.0555 -0.1408)
OKLCHoklch(40.74% 0.151 291.5)
XYZxyz(9.5475, 6.0072, 28.2546)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3293 #779332
analogous
#324693 #4E3293 #7E3293
triadic
#4E3293 #934E32 #32934E
tetradic
#4E3293 #933246 #779332 #32937E
square
#4E3293 #933246 #779332 #32937E
split-complementary
#4E3293 #937E32 #469332
monochromatic
#1E1338 #362265 #4E3293 #6743BF #8C71CF

Accessibility & contrast

On white

9.54
#4E3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3293
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3293#FFFFFF#000000##FFFFFF
##4E32931.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#39495E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3293;
/* rgb */ color: rgb(78, 50, 147);
/* oklch */ color: oklch(40.7% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#866cb3',
    500: '#4e3293',
    950: '#000000',
  },
}
SCSS
$custom: #4e3293;
$custom-light: #866cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3293",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 257.32,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.15139,
    "h": 291.5
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#4E3293
secondary
#A1B76A
accent
#D94FB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3293

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

Preview Lab → · Contrast checker → · Palette generator →

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