#4B175F#4B175F

#4B175F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.126 H 314.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#4B175F
RGBrgb(75, 23, 95)
HSLhsl(283, 61%, 23%)
HSVhsv(283, 76%, 37%)
CMYKcmyk(21.1%, 75.8%, 0%, 62.7%)
CIE-LABlab(19.78, 36.47, -31.77)
CIE-LCHlch(19.78, 48.37, 318.94°)
OKLaboklab(32.45% 0.0891 -0.0895)
OKLCHoklch(32.45% 0.126 314.9)
XYZxyz(5.2733, 2.9351, 11.1130)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B175F #2B5F17
analogous
#27175F #4B175F #5F174F
triadic
#4B175F #5F4B17 #175F4B
tetradic
#4B175F #5F2717 #2B5F17 #174F5F
square
#4B175F #5F2717 #2B5F17 #174F5F
split-complementary
#4B175F #4F5F17 #175F27
monochromatic
#130619 #240B2E #4B175F #722390 #992FC2

Accessibility & contrast

On white

13.23
#4B175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B175F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B175F#FFFFFF#000000##FFFFFF
##4B175F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#492639
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b175f;
/* rgb */ color: rgb(75, 23, 95);
/* oklch */ color: oklch(32.5% 0.126 314.9);
Tailwind
colors: {
  custom: {
    50: '#80598d',
    500: '#4b175f',
    950: '#000000',
  },
}
SCSS
$custom: #4b175f;
$custom-light: #80598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b175f",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 283.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32454,
    "c": 0.12627,
    "h": 314.9
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#4B175F
secondary
#55963C
accent
#E44470
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B175F

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

Preview Lab → · Contrast checker → · Palette generator →

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