#48175F#48175F

#48175F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.125 H 312.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#48175F
RGBrgb(72, 23, 95)
HSLhsl(281, 61%, 23%)
HSVhsv(281, 76%, 37%)
CMYKcmyk(24.2%, 75.8%, 0%, 62.7%)
CIE-LABlab(19.30, 35.76, -32.58)
CIE-LCHlch(19.30, 48.38, 317.66°)
OKLaboklab(32.01% 0.0848 -0.092)
OKLCHoklch(32.01% 0.125 312.7)
XYZxyz(5.0441, 2.8169, 11.1023)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48175F #2E5F17
analogous
#24175F #48175F #5F1752
triadic
#48175F #5F4817 #175F48
tetradic
#48175F #5F2417 #2E5F17 #17525F
square
#48175F #5F2417 #2E5F17 #17525F
split-complementary
#48175F #525F17 #175F24
monochromatic
#130619 #230B2E #48175F #6D2390 #932FC2

Accessibility & contrast

On white

13.43
#48175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#48175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48175F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48175F#FFFFFF#000000##FFFFFF
##48175F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#452639
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48175f;
/* rgb */ color: rgb(72, 23, 95);
/* oklch */ color: oklch(32.0% 0.125 312.7);
Tailwind
colors: {
  custom: {
    50: '#7e598d',
    500: '#48175f',
    950: '#000000',
  },
}
SCSS
$custom: #48175f;
$custom-light: #7e598d;
$custom-dark: #000000;
JSON
{
  "hex": "#48175f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 280.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32007,
    "c": 0.12508,
    "h": 312.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#48175F
secondary
#59963C
accent
#E44477
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48175F

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

Preview Lab → · Contrast checker → · Palette generator →

#48175F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva