#48145F#48145F

#48145F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.129 H 313.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#48145F
RGBrgb(72, 20, 95)
HSLhsl(282, 65%, 23%)
HSVhsv(282, 79%, 37%)
CMYKcmyk(24.2%, 78.9%, 0%, 62.7%)
CIE-LABlab(18.82, 37.11, -33.35)
CIE-LCHlch(18.82, 49.90, 318.06°)
OKLaboklab(31.67% 0.0881 -0.0942)
OKLCHoklch(31.67% 0.129 313.1)
XYZxyz(4.9878, 2.7044, 11.0835)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48145F #2B5F14
analogous
#23145F #48145F #5F1450
triadic
#48145F #5F4814 #145F48
tetradic
#48145F #5F2314 #2B5F14 #14505F
square
#48145F #5F2314 #2B5F14 #14505F
split-complementary
#48145F #505F14 #145F23
monochromatic
#130519 #22092C #48145F #6E1F92 #9529C4

Accessibility & contrast

On white

13.63
#48145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#48145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48145F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48145F#FFFFFF#000000##FFFFFF
##48145F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#452538
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48145f;
/* rgb */ color: rgb(72, 20, 95);
/* oklch */ color: oklch(31.7% 0.129 313.1);
Tailwind
colors: {
  custom: {
    50: '#7e588d',
    500: '#48145f',
    950: '#000000',
  },
}
SCSS
$custom: #48145f;
$custom-light: #7e588d;
$custom-dark: #000000;
JSON
{
  "hex": "#48145f",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 281.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.12899,
    "h": 313.1
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#48145F
secondary
#559738
accent
#E84073
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48145F

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

Preview Lab → · Contrast checker → · Palette generator →

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