#4E2096#4E2096

#4E2096 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.177 H 294.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4E2096
RGBrgb(78, 32, 150)
HSLhsl(263, 65%, 36%)
HSVhsv(263, 79%, 59%)
CMYKcmyk(48%, 78.7%, 0%, 41.2%)
CIE-LABlab(26.32, 46.86, -56.17)
CIE-LCHlch(26.32, 73.15, 309.84°)
OKLaboklab(38.61% 0.0723 -0.1611)
OKLCHoklch(38.61% 0.177 294.2)
XYZxyz(9.1619, 4.8545, 29.3025)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2096 #689620
analogous
#202D96 #4E2096 #892096
triadic
#4E2096 #964E20 #20964E
tetradic
#4E2096 #96202D #689620 #209689
square
#4E2096 #96202D #689620 #209689
split-complementary
#4E2096 #968920 #2D9620
monochromatic
#1A0A31 #341564 #4E2096 #682BC8 #8A56DB

Accessibility & contrast

On white

10.65
#4E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2096
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2096#FFFFFF#000000##FFFFFF
##4E20961.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#38415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2096;
/* rgb */ color: rgb(78, 32, 150);
/* oklch */ color: oklch(38.6% 0.177 294.2);
Tailwind
colors: {
  custom: {
    50: '#8761b6',
    500: '#4e2096',
    950: '#000000',
  },
}
SCSS
$custom: #4e2096;
$custom-light: #8761b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2096",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 263.39,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.17659,
    "h": 294.2
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#4E2096
secondary
#95BE53
accent
#E840A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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