#48186A#48186A

#48186A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.136 H 307.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#48186A
RGBrgb(72, 24, 106)
HSLhsl(275, 63%, 25%)
HSVhsv(275, 77%, 42%)
CMYKcmyk(32.1%, 77.4%, 0%, 58.4%)
CIE-LABlab(20.33, 37.97, -38.14)
CIE-LCHlch(20.33, 53.82, 314.87°)
OKLaboklab(33.02% 0.0818 -0.1083)
OKLCHoklch(33.02% 0.136 307.1)
XYZxyz(5.6001, 3.0717, 13.9307)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48186A #3A6A18
analogous
#1F186A #48186A #6A1863
triadic
#48186A #6A4818 #186A48
tetradic
#48186A #6A1F18 #3A6A18 #18636A
square
#48186A #6A1F18 #3A6A18 #18636A
split-complementary
#48186A #636A18 #186A1F
monochromatic
#110619 #260D38 #48186A #6A239C #8C2FCE

Accessibility & contrast

On white

13.01
#48186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48186A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48186A#FFFFFF#000000##FFFFFF
##48186A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#422C3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48186a;
/* rgb */ color: rgb(72, 24, 106);
/* oklch */ color: oklch(33.0% 0.136 307.1);
Tailwind
colors: {
  custom: {
    50: '#7f5a95',
    500: '#48186a',
    950: '#000000',
  },
}
SCSS
$custom: #48186a;
$custom-light: #7f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#48186a",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 275.122,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.13576,
    "h": 307.1
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#48186A
secondary
#67A03E
accent
#E64286
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48186A

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

Preview Lab → · Contrast checker → · Palette generator →

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