#4B175C#4B175C

#4B175C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.123 H 316.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4B175C
RGBrgb(75, 23, 92)
HSLhsl(285, 60%, 23%)
HSVhsv(285, 75%, 36%)
CMYKcmyk(18.5%, 75%, 0%, 63.9%)
CIE-LABlab(19.56, 35.78, -30.13)
CIE-LCHlch(19.56, 46.78, 319.90°)
OKLaboklab(32.23% 0.0894 -0.0847)
OKLCHoklch(32.23% 0.123 316.5)
XYZxyz(5.1395, 2.8816, 10.4086)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B175C #285C17
analogous
#28175C #4B175C #5C174B
triadic
#4B175C #5C4B17 #175C4B
tetradic
#4B175C #5C2817 #285C17 #174B5C
square
#4B175C #5C2817 #285C17 #174B5C
split-complementary
#4B175C #4B5C17 #175C28
monochromatic
#140618 #230B2B #4B175C #73238D #9B2FBE

Accessibility & contrast

On white

13.32
#4B175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B175C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B175C#FFFFFF#000000##FFFFFF
##4B175C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#4A2537
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b175c;
/* rgb */ color: rgb(75, 23, 92);
/* oklch */ color: oklch(32.2% 0.123 316.5);
Tailwind
colors: {
  custom: {
    50: '#80598a',
    500: '#4b175c',
    950: '#000000',
  },
}
SCSS
$custom: #4b175c;
$custom-light: #80598a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b175c",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 285.217,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32228,
    "c": 0.12313,
    "h": 316.5
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#4B175C
secondary
#51933C
accent
#E3456C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B175C

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

Preview Lab → · Contrast checker → · Palette generator →

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