#4E175A#4E175A

#4E175A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.122 H 319.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4E175A
RGBrgb(78, 23, 90)
HSLhsl(289, 59%, 22%)
HSVhsv(289, 74%, 35%)
CMYKcmyk(13.3%, 74.4%, 0%, 64.7%)
CIE-LABlab(19.93, 36.09, -28.19)
CIE-LCHlch(19.93, 45.79, 322.00°)
OKLaboklab(32.55% 0.0937 -0.0789)
OKLCHoklch(32.55% 0.122 319.9)
XYZxyz(5.2935, 2.9709, 9.9655)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E175A #235A17
analogous
#2D175A #4E175A #5A1745
triadic
#4E175A #5A4E17 #175A4E
tetradic
#4E175A #5A2D17 #235A17 #17455A
square
#4E175A #5A2D17 #235A17 #17455A
split-complementary
#4E175A #455A17 #175A2D
monochromatic
#150618 #240B29 #4E175A #78238B #A230BB

Accessibility & contrast

On white

13.17
#4E175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E175A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E175A#FFFFFF#000000##FFFFFF
##4E175A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#4E2336
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e175a;
/* rgb */ color: rgb(78, 23, 90);
/* oklch */ color: oklch(32.5% 0.122 319.9);
Tailwind
colors: {
  custom: {
    50: '#825a89',
    500: '#4e175a',
    950: '#000000',
  },
}
SCSS
$custom: #4e175a;
$custom-light: #825a89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e175a",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 289.254,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.12246,
    "h": 319.9
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#4E175A
secondary
#4B913C
accent
#E24561
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E175A

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

Preview Lab → · Contrast checker → · Palette generator →

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