#48116A#48116A

#48116A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.144 H 308.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#48116A
RGBrgb(72, 17, 106)
HSLhsl(277, 72%, 24%)
HSVhsv(277, 84%, 42%)
CMYKcmyk(32.1%, 84%, 0%, 58.4%)
CIE-LABlab(19.31, 40.91, -39.81)
CIE-LCHlch(19.31, 57.08, 315.78°)
OKLaboklab(32.3% 0.0885 -0.1132)
OKLCHoklch(32.3% 0.144 308)
XYZxyz(5.4739, 2.8193, 13.8887)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48116A #336A11
analogous
#1C116A #48116A #6A1160
triadic
#48116A #6A4811 #116A48
tetradic
#48116A #6A1C11 #336A11 #11606A
square
#48116A #6A1C11 #336A11 #11606A
split-complementary
#48116A #606A11 #116A1C
monochromatic
#12041A #240935 #48116A #6C199F #9022D3

Accessibility & contrast

On white

13.43
#48116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#48116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48116A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48116A#FFFFFF#000000##FFFFFF
##48116A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#42283E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48116a;
/* rgb */ color: rgb(72, 17, 106);
/* oklch */ color: oklch(32.3% 0.144 308.0);
Tailwind
colors: {
  custom: {
    50: '#7f5795',
    500: '#48116a',
    950: '#000000',
  },
}
SCSS
$custom: #48116a;
$custom-light: #7f5795;
$custom-dark: #000000;
JSON
{
  "hex": "#48116a",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 277.079,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.14369,
    "h": 308
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#48116A
secondary
#5FA235
accent
#EF397E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #48116A

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

Preview Lab → · Contrast checker → · Palette generator →

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