#48116C#48116C

#48116C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 307.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#48116C
RGBrgb(72, 17, 108)
HSLhsl(276, 73%, 25%)
HSVhsv(276, 84%, 42%)
CMYKcmyk(33.3%, 84.3%, 0%, 57.6%)
CIE-LABlab(19.48, 41.39, -40.83)
CIE-LCHlch(19.48, 58.13, 315.39°)
OKLaboklab(32.47% 0.088 -0.1162)
OKLCHoklch(32.47% 0.146 307.1)
XYZxyz(5.5791, 2.8614, 14.4428)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48116C #356C11
analogous
#1B116C #48116C #6C1163
triadic
#48116C #6C4811 #116C48
tetradic
#48116C #6C1B11 #356C11 #11636C
square
#48116C #6C1B11 #356C11 #11636C
split-complementary
#48116C #636C11 #116C1B
monochromatic
#12041A #250937 #48116C #6B19A1 #8F22D6

Accessibility & contrast

On white

13.36
#48116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#48116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48116C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48116C#FFFFFF#000000##FFFFFF
##48116C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#42293F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48116c;
/* rgb */ color: rgb(72, 17, 108);
/* oklch */ color: oklch(32.5% 0.146 307.1);
Tailwind
colors: {
  custom: {
    50: '#7f5797',
    500: '#48116c',
    950: '#000000',
  },
}
SCSS
$custom: #48116c;
$custom-light: #7f5797;
$custom-dark: #000000;
JSON
{
  "hex": "#48116c",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 276.264,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32472,
    "c": 0.14573,
    "h": 307.1
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#48116C
secondary
#61A435
accent
#EF3881
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #48116C

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

Preview Lab → · Contrast checker → · Palette generator →

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