#48115F#48115F

#48115F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.133 H 313.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#48115F
RGBrgb(72, 17, 95)
HSLhsl(282, 70%, 22%)
HSVhsv(282, 82%, 37%)
CMYKcmyk(24.2%, 82.1%, 0%, 62.7%)
CIE-LABlab(18.39, 38.35, -34.05)
CIE-LCHlch(18.39, 51.28, 318.40°)
OKLaboklab(31.36% 0.0911 -0.0963)
OKLCHoklch(31.36% 0.133 313.4)
XYZxyz(4.9381, 2.6050, 11.0669)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48115F #285F11
analogous
#21115F #48115F #5F114F
triadic
#48115F #5F4811 #115F48
tetradic
#48115F #5F2111 #285F11 #114F5F
square
#48115F #5F2111 #285F11 #114F5F
split-complementary
#48115F #4F5F11 #115F21
monochromatic
#14051A #21082B #48115F #6F1A93 #9724C7

Accessibility & contrast

On white

13.81
#48115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48115F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48115F#FFFFFF#000000##FFFFFF
##48115F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#462338
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48115f;
/* rgb */ color: rgb(72, 17, 95);
/* oklch */ color: oklch(31.4% 0.133 313.4);
Tailwind
colors: {
  custom: {
    50: '#7e568d',
    500: '#48115f',
    950: '#000000',
  },
}
SCSS
$custom: #48115f;
$custom-light: #7e568d;
$custom-dark: #000000;
JSON
{
  "hex": "#48115f",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 282.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31364,
    "c": 0.13256,
    "h": 313.4
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#48115F
secondary
#529834
accent
#EC3B70
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48115F

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

Preview Lab → · Contrast checker → · Palette generator →

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