#48145E#48145E

#48145E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.128 H 313.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#48145E
RGBrgb(72, 20, 94)
HSLhsl(282, 65%, 22%)
HSVhsv(282, 79%, 37%)
CMYKcmyk(23.4%, 78.7%, 0%, 63.1%)
CIE-LABlab(18.74, 36.88, -32.81)
CIE-LCHlch(18.74, 49.37, 318.34°)
OKLaboklab(31.59% 0.0883 -0.0926)
OKLCHoklch(31.59% 0.128 313.6)
XYZxyz(4.9427, 2.6863, 10.8457)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48145E #2A5E14
analogous
#23145E #48145E #5E144F
triadic
#48145E #5E4814 #145E48
tetradic
#48145E #5E2314 #2A5E14 #144F5E
square
#48145E #5E2314 #2A5E14 #144F5E
split-complementary
#48145E #4F5E14 #145E23
monochromatic
#130519 #21092C #48145E #6F1F90 #9529C3

Accessibility & contrast

On white

13.66
#48145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48145E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48145E#FFFFFF#000000##FFFFFF
##48145E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#462438
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #48145e;
/* rgb */ color: rgb(72, 20, 94);
/* oklch */ color: oklch(31.6% 0.128 313.6);
Tailwind
colors: {
  custom: {
    50: '#7e588c',
    500: '#48145e',
    950: '#000000',
  },
}
SCSS
$custom: #48145e;
$custom-light: #7e588c;
$custom-dark: #000000;
JSON
{
  "hex": "#48145e",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 282.162,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31589,
    "c": 0.12795,
    "h": 313.6
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#48145E
secondary
#549638
accent
#E84072
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48145E

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

Preview Lab → · Contrast checker → · Palette generator →

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