#48175A#48175A

#48175A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.120 H 315.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#48175A
RGBrgb(72, 23, 90)
HSLhsl(284, 59%, 22%)
HSVhsv(284, 74%, 35%)
CMYKcmyk(20%, 74.4%, 0%, 64.7%)
CIE-LABlab(18.92, 34.59, -29.85)
CIE-LCHlch(18.92, 45.69, 319.21°)
OKLaboklab(31.62% 0.0853 -0.084)
OKLCHoklch(31.62% 0.12 315.5)
XYZxyz(4.8241, 2.7289, 9.9435)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48175A #295A17
analogous
#27175A #48175A #5A174B
triadic
#48175A #5A4817 #175A48
tetradic
#48175A #5A2717 #295A17 #174B5A
square
#48175A #5A2717 #295A17 #174B5A
split-complementary
#48175A #4B5A17 #175A27
monochromatic
#130618 #210B29 #48175A #6F238B #9630BB

Accessibility & contrast

On white

13.59
#48175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#48175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48175A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48175A#FFFFFF#000000##FFFFFF
##48175A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#472436
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48175a;
/* rgb */ color: rgb(72, 23, 90);
/* oklch */ color: oklch(31.6% 0.120 315.5);
Tailwind
colors: {
  custom: {
    50: '#7e5989',
    500: '#48175a',
    950: '#000000',
  },
}
SCSS
$custom: #48175a;
$custom-light: #7e5989;
$custom-dark: #000000;
JSON
{
  "hex": "#48175a",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 283.881,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.11971,
    "h": 315.5
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#48175A
secondary
#53913C
accent
#E24570
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #48175A

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

Preview Lab → · Contrast checker → · Palette generator →

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