#4E3092#4E3092

#4E3092 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.153 H 292.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4E3092
RGBrgb(78, 48, 146)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 67%, 57%)
CMYKcmyk(46.6%, 67.1%, 0%, 42.7%)
CIE-LABlab(28.92, 37.47, -49.45)
CIE-LCHlch(28.92, 62.04, 307.15°)
OKLaboklab(40.35% 0.0578 -0.1415)
OKLCHoklch(40.35% 0.153 292.2)
XYZxyz(9.3857, 5.8086, 27.8152)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3092 #749230
analogous
#304392 #4E3092 #7F3092
triadic
#4E3092 #924E30 #30924E
tetradic
#4E3092 #923043 #749230 #30927F
square
#4E3092 #923043 #749230 #30927F
split-complementary
#4E3092 #927F30 #439230
monochromatic
#1D1236 #352164 #4E3092 #673FC0 #8B6DCF

Accessibility & contrast

On white

9.71
#4E3092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E3092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3092
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3092#FFFFFF#000000##FFFFFF
##4E30921.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3A485C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3092;
/* rgb */ color: rgb(78, 48, 146);
/* oklch */ color: oklch(40.4% 0.153 292.2);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4e3092',
    950: '#000000',
  },
}
SCSS
$custom: #4e3092;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3092",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 258.367,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.15282,
    "h": 292.2
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#4E3092
secondary
#9EB767
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E3092

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

Preview Lab → · Contrast checker → · Palette generator →

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