#48175C#48175C

#48175C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 314.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#48175C
RGBrgb(72, 23, 92)
HSLhsl(283, 60%, 23%)
HSVhsv(283, 75%, 36%)
CMYKcmyk(21.7%, 75%, 0%, 63.9%)
CIE-LABlab(19.07, 35.06, -30.95)
CIE-LCHlch(19.07, 46.76, 318.56°)
OKLaboklab(31.78% 0.0851 -0.0872)
OKLCHoklch(31.78% 0.122 314.3)
XYZxyz(4.9103, 2.7634, 10.3979)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48175C #2B5C17
analogous
#26175C #48175C #5C174D
triadic
#48175C #5C4817 #175C48
tetradic
#48175C #5C2617 #2B5C17 #174D5C
square
#48175C #5C2617 #2B5C17 #174D5C
split-complementary
#48175C #4D5C17 #175C26
monochromatic
#130618 #220B2B #48175C #6E238D #952FBE

Accessibility & contrast

On white

13.53
#48175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48175C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48175C#FFFFFF#000000##FFFFFF
##48175C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#142F5A
Tritanopia (blue-blind)
#462537
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48175c;
/* rgb */ color: rgb(72, 23, 92);
/* oklch */ color: oklch(31.8% 0.122 314.3);
Tailwind
colors: {
  custom: {
    50: '#7e598b',
    500: '#48175c',
    950: '#000000',
  },
}
SCSS
$custom: #48175c;
$custom-light: #7e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#48175c",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 282.609,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.12186,
    "h": 314.3
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#48175C
secondary
#55933C
accent
#E34573
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #48175C

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

Preview Lab → · Contrast checker → · Palette generator →

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