#4B175D#4B175D

#4B175D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.124 H 316.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4B175D
RGBrgb(75, 23, 93)
HSLhsl(285, 60%, 23%)
HSVhsv(285, 75%, 36%)
CMYKcmyk(19.4%, 75.3%, 0%, 63.5%)
CIE-LABlab(19.64, 36.01, -30.68)
CIE-LCHlch(19.64, 47.31, 319.57°)
OKLaboklab(32.3% 0.0893 -0.0863)
OKLCHoklch(32.3% 0.124 316)
XYZxyz(5.1835, 2.8992, 10.6403)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B175D #295D17
analogous
#28175D #4B175D #5D174C
triadic
#4B175D #5D4B17 #175D4B
tetradic
#4B175D #5D2817 #295D17 #174C5D
square
#4B175D #5D2817 #295D17 #174C5D
split-complementary
#4B175D #4C5D17 #175D28
monochromatic
#140619 #230B2C #4B175D #73238E #9A2FBF

Accessibility & contrast

On white

13.29
#4B175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B175D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B175D#FFFFFF#000000##FFFFFF
##4B175D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#16315B
Tritanopia (blue-blind)
#4A2538
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b175d;
/* rgb */ color: rgb(75, 23, 93);
/* oklch */ color: oklch(32.3% 0.124 316.0);
Tailwind
colors: {
  custom: {
    50: '#80598b',
    500: '#4b175d',
    950: '#000000',
  },
}
SCSS
$custom: #4b175d;
$custom-light: #80598b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b175d",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 284.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.12418,
    "h": 316
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#4B175D
secondary
#53943C
accent
#E3446D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B175D

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

Preview Lab → · Contrast checker → · Palette generator →

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