#4E2092#4E2092

#4E2092 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.172 H 295.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4E2092
RGBrgb(78, 32, 146)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 57%)
CMYKcmyk(46.6%, 78.1%, 0%, 42.7%)
CIE-LABlab(25.94, 45.79, -54.31)
CIE-LCHlch(25.94, 71.04, 310.13°)
OKLaboklab(38.23% 0.0735 -0.1557)
OKLCHoklch(38.23% 0.172 295.3)
XYZxyz(8.8453, 4.7278, 27.6351)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2092 #649220
analogous
#202B92 #4E2092 #872092
triadic
#4E2092 #924E20 #20924E
tetradic
#4E2092 #92202B #649220 #209287
square
#4E2092 #92202B #649220 #209287
split-complementary
#4E2092 #928720 #2B9220
monochromatic
#180A2E #331560 #4E2092 #692BC4 #8953D9

Accessibility & contrast

On white

10.79
#4E2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2092
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2092#FFFFFF#000000##FFFFFF
##4E20921.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#3B3F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2092;
/* rgb */ color: rgb(78, 32, 146);
/* oklch */ color: oklch(38.2% 0.172 295.3);
Tailwind
colors: {
  custom: {
    50: '#8761b3',
    500: '#4e2092',
    950: '#000000',
  },
}
SCSS
$custom: #4e2092;
$custom-light: #8761b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2092",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 264.211,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.17212,
    "h": 295.3
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#4E2092
secondary
#91BD51
accent
#E741A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2092

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

Preview Lab → · Contrast checker → · Palette generator →

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