#4E195A#4E195A

#4E195A is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.120 H 319.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4E195A
RGBrgb(78, 25, 90)
HSLhsl(289, 57%, 23%)
HSVhsv(289, 72%, 35%)
CMYKcmyk(13.3%, 72.2%, 0%, 64.7%)
CIE-LABlab(20.26, 35.16, -27.66)
CIE-LCHlch(20.26, 44.74, 321.81°)
OKLaboklab(32.78% 0.0912 -0.0774)
OKLCHoklch(32.78% 0.12 319.7)
XYZxyz(5.3347, 3.0534, 9.9792)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E195A #255A19
analogous
#2D195A #4E195A #5A1946
triadic
#4E195A #5A4E19 #195A4E
tetradic
#4E195A #5A2D19 #255A19 #19465A
square
#4E195A #5A2D19 #255A19 #19465A
split-complementary
#4E195A #465A19 #195A2D
monochromatic
#150718 #240C2A #4E195A #78268A #A134BA

Accessibility & contrast

On white

13.04
#4E195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E195A
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E195A#FFFFFF#000000##FFFFFF
##4E195A1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#1E3358
Tritanopia (blue-blind)
#4E2537
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e195a;
/* rgb */ color: rgb(78, 25, 90);
/* oklch */ color: oklch(32.8% 0.120 319.7);
Tailwind
colors: {
  custom: {
    50: '#825b89',
    500: '#4e195a',
    950: '#000000',
  },
}
SCSS
$custom: #4e195a;
$custom-light: #825b89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e195a",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 288.923,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.1196,
    "h": 319.7
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#4E195A
secondary
#4E903E
accent
#E04864
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E195A

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

Preview Lab → · Contrast checker → · Palette generator →

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