#48115E#48115E

#48115E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.132 H 314.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#48115E
RGBrgb(72, 17, 94)
HSLhsl(283, 69%, 22%)
HSVhsv(283, 82%, 37%)
CMYKcmyk(23.4%, 81.9%, 0%, 63.1%)
CIE-LABlab(18.31, 38.13, -33.51)
CIE-LCHlch(18.31, 50.76, 318.68°)
OKLaboklab(31.28% 0.0913 -0.0947)
OKLCHoklch(31.28% 0.132 314)
XYZxyz(4.8930, 2.5869, 10.8291)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48115E #275E11
analogous
#22115E #48115E #5E114E
triadic
#48115E #5E4811 #115E48
tetradic
#48115E #5E2211 #275E11 #114E5E
square
#48115E #5E2211 #275E11 #114E5E
split-complementary
#48115E #4E5E11 #115E22
monochromatic
#14051A #20082A #48115E #701A92 #9724C6

Accessibility & contrast

On white

13.84
#48115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#48115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48115E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48115E#FFFFFF#000000##FFFFFF
##48115E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#0A2E5C
Tritanopia (blue-blind)
#462337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48115e;
/* rgb */ color: rgb(72, 17, 94);
/* oklch */ color: oklch(31.3% 0.132 314.0);
Tailwind
colors: {
  custom: {
    50: '#7e568c',
    500: '#48115e',
    950: '#000000',
  },
}
SCSS
$custom: #48115e;
$custom-light: #7e568c;
$custom-dark: #000000;
JSON
{
  "hex": "#48115e",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 282.857,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31282,
    "c": 0.13155,
    "h": 314
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#48115E
secondary
#509734
accent
#EC3C6E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48115E

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

Preview Lab → · Contrast checker → · Palette generator →

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