#4E195B#4E195B

#4E195B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.121 H 319.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4E195B
RGBrgb(78, 25, 91)
HSLhsl(288, 57%, 23%)
HSVhsv(288, 73%, 36%)
CMYKcmyk(14.3%, 72.5%, 0%, 64.3%)
CIE-LABlab(20.32, 35.38, -28.22)
CIE-LCHlch(20.32, 45.26, 321.42°)
OKLaboklab(32.85% 0.0912 -0.079)
OKLCHoklch(32.85% 0.121 319.1)
XYZxyz(5.3776, 3.0705, 10.2049)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E195B #265B19
analogous
#2D195B #4E195B #5B1947
triadic
#4E195B #5B4E19 #195B4E
tetradic
#4E195B #5B2D19 #265B19 #19475B
square
#4E195B #5B2D19 #265B19 #19475B
split-complementary
#4E195B #475B19 #195B2D
monochromatic
#150718 #250C2B #4E195B #77268B #A033BB

Accessibility & contrast

On white

13.01
#4E195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E195B
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E195B#FFFFFF#000000##FFFFFF
##4E195B1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5D
Deuteranopia (green-blind)
#1D3359
Tritanopia (blue-blind)
#4E2538
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e195b;
/* rgb */ color: rgb(78, 25, 91);
/* oklch */ color: oklch(32.9% 0.121 319.1);
Tailwind
colors: {
  custom: {
    50: '#825b8a',
    500: '#4e195b',
    950: '#000000',
  },
}
SCSS
$custom: #4e195b;
$custom-light: #825b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e195b",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 288.182,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.12063,
    "h": 319.1
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#4E195B
secondary
#4F913F
accent
#E04866
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E195B

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

Preview Lab → · Contrast checker → · Palette generator →

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