#4E195F#4E195F

#4E195F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.125 H 316.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4E195F
RGBrgb(78, 25, 95)
HSLhsl(285, 58%, 24%)
HSVhsv(285, 74%, 37%)
CMYKcmyk(17.9%, 73.7%, 0%, 62.7%)
CIE-LABlab(20.60, 36.27, -30.43)
CIE-LCHlch(20.60, 47.34, 320.00°)
OKLaboklab(33.14% 0.0909 -0.0855)
OKLCHoklch(33.14% 0.125 316.8)
XYZxyz(5.5548, 3.1414, 11.1380)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E195F #2A5F19
analogous
#2B195F #4E195F #5F194D
triadic
#4E195F #5F4E19 #195F4E
tetradic
#4E195F #5F2B19 #2A5F19 #194D5F
square
#4E195F #5F2B19 #2A5F19 #194D5F
split-complementary
#4E195F #4D5F19 #195F2B
monochromatic
#140618 #260C2F #4E195F #76268F #9E32C0

Accessibility & contrast

On white

12.90
#4E195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E195F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E195F#FFFFFF#000000##FFFFFF
##4E195F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#4D273A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e195f;
/* rgb */ color: rgb(78, 25, 95);
/* oklch */ color: oklch(33.1% 0.125 316.8);
Tailwind
colors: {
  custom: {
    50: '#825b8d',
    500: '#4e195f',
    950: '#000000',
  },
}
SCSS
$custom: #4e195f;
$custom-light: #825b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e195f",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 285.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.12479,
    "h": 316.8
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#4E195F
secondary
#54953F
accent
#E2466C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E195F

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

Preview Lab → · Contrast checker → · Palette generator →

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