#4E195D#4E195D

#4E195D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.123 H 317.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4E195D
RGBrgb(78, 25, 93)
HSLhsl(287, 58%, 23%)
HSVhsv(287, 73%, 36%)
CMYKcmyk(16.1%, 73.1%, 0%, 63.5%)
CIE-LABlab(20.46, 35.82, -29.33)
CIE-LCHlch(20.46, 46.30, 320.69°)
OKLaboklab(33% 0.0911 -0.0823)
OKLCHoklch(33% 0.123 317.9)
XYZxyz(5.4650, 3.1055, 10.6654)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E195D #285D19
analogous
#2C195D #4E195D #5D194A
triadic
#4E195D #5D4E19 #195D4E
tetradic
#4E195D #5D2C19 #285D19 #194A5D
square
#4E195D #5D2C19 #285D19 #194A5D
split-complementary
#4E195D #4A5D19 #195D2C
monochromatic
#140618 #260C2D #4E195D #76268D #9F33BD

Accessibility & contrast

On white

12.95
#4E195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E195D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E195D#FFFFFF#000000##FFFFFF
##4E195D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#4E2639
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e195d;
/* rgb */ color: rgb(78, 25, 93);
/* oklch */ color: oklch(33.0% 0.123 317.9);
Tailwind
colors: {
  custom: {
    50: '#825b8b',
    500: '#4e195d',
    950: '#000000',
  },
}
SCSS
$custom: #4e195d;
$custom-light: #825b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e195d",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 286.765,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.12271,
    "h": 317.9
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#4E195D
secondary
#51933F
accent
#E14769
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E195D

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

Preview Lab → · Contrast checker → · Palette generator →

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