#4E3292#4E3292

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

Color values

HEX#4E3292
RGBrgb(78, 50, 146)
HSLhsl(258, 49%, 38%)
HSVhsv(258, 66%, 57%)
CMYKcmyk(46.6%, 65.8%, 0%, 42.7%)
CIE-LABlab(29.35, 36.31, -48.75)
CIE-LCHlch(29.35, 60.79, 306.68°)
OKLaboklab(40.66% 0.0556 -0.1394)
OKLCHoklch(40.66% 0.15 291.7)
XYZxyz(9.4694, 5.9759, 27.8431)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3292 #769232
analogous
#324692 #4E3292 #7E3292
triadic
#4E3292 #924E32 #32924E
tetradic
#4E3292 #923246 #769232 #32927E
square
#4E3292 #923246 #769232 #32927E
split-complementary
#4E3292 #927E32 #469232
monochromatic
#1D1337 #362264 #4E3292 #6743BF #8C70CE

Accessibility & contrast

On white

9.57
#4E3292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3292
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3292#FFFFFF#000000##FFFFFF
##4E32921.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#3A495D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3292;
/* rgb */ color: rgb(78, 50, 146);
/* oklch */ color: oklch(40.7% 0.150 291.7);
Tailwind
colors: {
  custom: {
    50: '#856bb3',
    500: '#4e3292',
    950: '#000000',
  },
}
SCSS
$custom: #4e3292;
$custom-light: #856bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3292",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 257.5,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.1501,
    "h": 291.7
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#4E3292
secondary
#A0B66A
accent
#D94FB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3292

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

Preview Lab → · Contrast checker → · Palette generator →

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