#4E2195#4E2195

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

Color values

HEX#4E2195
RGBrgb(78, 33, 149)
HSLhsl(263, 64%, 36%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(47.7%, 77.9%, 0%, 41.6%)
CIE-LABlab(26.38, 46.13, -55.44)
CIE-LCHlch(26.38, 72.13, 309.76°)
OKLaboklab(38.62% 0.0718 -0.159)
OKLCHoklch(38.62% 0.174 294.3)
XYZxyz(9.1091, 4.8771, 28.8894)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2195 #689521
analogous
#212E95 #4E2195 #882195
triadic
#4E2195 #954E21 #21954E
tetradic
#4E2195 #95212E #689521 #219588
square
#4E2195 #95212E #689521 #219588
split-complementary
#4E2195 #958821 #2E9521
monochromatic
#1A0B31 #341663 #4E2195 #682CC7 #8A57DA

Accessibility & contrast

On white

10.63
#4E2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2195
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2195#FFFFFF#000000##FFFFFF
##4E21951.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#39415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2195;
/* rgb */ color: rgb(78, 33, 149);
/* oklch */ color: oklch(38.6% 0.174 294.3);
Tailwind
colors: {
  custom: {
    50: '#8762b5',
    500: '#4e2195',
    950: '#000000',
  },
}
SCSS
$custom: #4e2195;
$custom-light: #8762b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2195",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 263.276,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.17444,
    "h": 294.3
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#4E2195
secondary
#95BE54
accent
#E741A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2195

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

Preview Lab → · Contrast checker → · Palette generator →

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