#4E195E#4E195E

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

Color values

HEX#4E195E
RGBrgb(78, 25, 94)
HSLhsl(286, 58%, 23%)
HSVhsv(286, 73%, 37%)
CMYKcmyk(17%, 73.4%, 0%, 63.1%)
CIE-LABlab(20.53, 36.05, -29.88)
CIE-LCHlch(20.53, 46.82, 320.34°)
OKLaboklab(33.07% 0.091 -0.0839)
OKLCHoklch(33.07% 0.124 317.3)
XYZxyz(5.5096, 3.1233, 10.9001)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E195E #295E19
analogous
#2B195E #4E195E #5E194B
triadic
#4E195E #5E4E19 #195E4E
tetradic
#4E195E #5E2B19 #295E19 #194B5E
square
#4E195E #5E2B19 #295E19 #194B5E
split-complementary
#4E195E #4B5E19 #195E2B
monochromatic
#140618 #260C2E #4E195E #76268E #9E33BF

Accessibility & contrast

On white

12.93
#4E195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E195E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E195E#FFFFFF#000000##FFFFFF
##4E195E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#1B335C
Tritanopia (blue-blind)
#4D2639
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e195e;
/* rgb */ color: rgb(78, 25, 94);
/* oklch */ color: oklch(33.1% 0.124 317.3);
Tailwind
colors: {
  custom: {
    50: '#825b8c',
    500: '#4e195e',
    950: '#000000',
  },
}
SCSS
$custom: #4e195e;
$custom-light: #825b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e195e",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 286.087,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33068,
    "c": 0.12375,
    "h": 317.3
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#4E195E
secondary
#52943F
accent
#E1476A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E195E

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

Preview Lab → · Contrast checker → · Palette generator →

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