#48116F#48116F

#48116F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.149 H 305.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#48116F
RGBrgb(72, 17, 111)
HSLhsl(275, 73%, 25%)
HSVhsv(275, 85%, 44%)
CMYKcmyk(35.1%, 84.7%, 0%, 56.5%)
CIE-LABlab(19.75, 42.10, -42.34)
CIE-LCHlch(19.75, 59.71, 314.84°)
OKLaboklab(32.74% 0.0871 -0.1206)
OKLCHoklch(32.74% 0.149 305.8)
XYZxyz(5.7415, 2.9264, 15.2982)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48116F #386F11
analogous
#19116F #48116F #6F1167
triadic
#48116F #6F4811 #116F48
tetradic
#48116F #6F1911 #386F11 #11676F
square
#48116F #6F1911 #386F11 #11676F
split-complementary
#48116F #676F11 #116F19
monochromatic
#11041B #26093A #48116F #6A19A4 #8D21D9

Accessibility & contrast

On white

13.25
#48116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#48116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48116F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48116F#FFFFFF#000000##FFFFFF
##48116F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#412A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48116f;
/* rgb */ color: rgb(72, 17, 111);
/* oklch */ color: oklch(32.7% 0.149 305.8);
Tailwind
colors: {
  custom: {
    50: '#805799',
    500: '#48116f',
    950: '#000000',
  },
}
SCSS
$custom: #48116f;
$custom-light: #805799;
$custom-dark: #000000;
JSON
{
  "hex": "#48116f",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 275.106,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.14878,
    "h": 305.8
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#48116F
secondary
#64A635
accent
#F03884
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #48116F

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

Preview Lab → · Contrast checker → · Palette generator →

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