#48136B#48136B

#48136B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.143 H 307.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#48136B
RGBrgb(72, 19, 107)
HSLhsl(276, 70%, 25%)
HSVhsv(276, 82%, 42%)
CMYKcmyk(32.7%, 82.2%, 0%, 58%)
CIE-LABlab(19.66, 40.37, -39.88)
CIE-LCHlch(19.66, 56.75, 315.35°)
OKLaboklab(32.57% 0.0865 -0.1134)
OKLCHoklch(32.57% 0.143 307.3)
XYZxyz(5.5586, 2.9051, 14.1750)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48136B #366B13
analogous
#1C136B #48136B #6B1362
triadic
#48136B #6B4813 #136B48
tetradic
#48136B #6B1C13 #366B13 #13626B
square
#48136B #6B1C13 #366B13 #13626B
split-complementary
#48136B #626B13 #136B1C
monochromatic
#11051A #250A37 #48136B #6B1C9F #8E25D3

Accessibility & contrast

On white

13.28
#48136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#48136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48136B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48136B#FFFFFF#000000##FFFFFF
##48136B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#422A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48136b;
/* rgb */ color: rgb(72, 19, 107);
/* oklch */ color: oklch(32.6% 0.143 307.3);
Tailwind
colors: {
  custom: {
    50: '#7f5896',
    500: '#48136b',
    950: '#000000',
  },
}
SCSS
$custom: #48136b;
$custom-light: #7f5896;
$custom-dark: #000000;
JSON
{
  "hex": "#48136b",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 276.136,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32571,
    "c": 0.14263,
    "h": 307.3
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#48136B
secondary
#62A238
accent
#ED3B82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48136B

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

Preview Lab → · Contrast checker → · Palette generator →

#48136B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva