#48175E#48175E

#48175E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.124 H 313.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#48175E
RGBrgb(72, 23, 94)
HSLhsl(281, 61%, 23%)
HSVhsv(281, 76%, 37%)
CMYKcmyk(23.4%, 75.5%, 0%, 63.1%)
CIE-LABlab(19.22, 35.53, -32.04)
CIE-LCHlch(19.22, 47.84, 317.95°)
OKLaboklab(31.93% 0.0849 -0.0904)
OKLCHoklch(31.93% 0.124 313.2)
XYZxyz(4.9989, 2.7988, 10.8644)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48175E #2D5E17
analogous
#24175E #48175E #5E1751
triadic
#48175E #5E4817 #175E48
tetradic
#48175E #5E2417 #2D5E17 #17515E
square
#48175E #5E2417 #2D5E17 #17515E
split-complementary
#48175E #515E17 #175E24
monochromatic
#130619 #220B2D #48175E #6E238F #932FC0

Accessibility & contrast

On white

13.46
#48175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48175E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48175E#FFFFFF#000000##FFFFFF
##48175E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#11305C
Tritanopia (blue-blind)
#462639
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48175e;
/* rgb */ color: rgb(72, 23, 94);
/* oklch */ color: oklch(31.9% 0.124 313.2);
Tailwind
colors: {
  custom: {
    50: '#7e598c',
    500: '#48175e',
    950: '#000000',
  },
}
SCSS
$custom: #48175e;
$custom-light: #7e598c;
$custom-dark: #000000;
JSON
{
  "hex": "#48175e",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 281.408,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.124,
    "h": 313.2
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#48175E
secondary
#58953C
accent
#E44476
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48175E

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

Preview Lab → · Contrast checker → · Palette generator →

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