#48186B#48186B

#48186B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.137 H 306.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#48186B
RGBrgb(72, 24, 107)
HSLhsl(275, 63%, 26%)
HSVhsv(275, 78%, 42%)
CMYKcmyk(32.7%, 77.6%, 0%, 58%)
CIE-LABlab(20.41, 38.22, -38.66)
CIE-LCHlch(20.41, 54.36, 314.67°)
OKLaboklab(33.1% 0.0816 -0.1099)
OKLCHoklch(33.1% 0.137 306.6)
XYZxyz(5.6524, 3.0926, 14.2062)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48186B #3B6B18
analogous
#1E186B #48186B #6B1864
triadic
#48186B #6B4818 #186B48
tetradic
#48186B #6B1E18 #3B6B18 #18646B
square
#48186B #6B1E18 #3B6B18 #18646B
split-complementary
#48186B #646B18 #186B1E
monochromatic
#110619 #260D39 #48186B #6A239D #8B2ECF

Accessibility & contrast

On white

12.97
#48186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#48186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48186B
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48186B#FFFFFF#000000##FFFFFF
##48186B1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#422C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48186b;
/* rgb */ color: rgb(72, 24, 107);
/* oklch */ color: oklch(33.1% 0.137 306.6);
Tailwind
colors: {
  custom: {
    50: '#7f5a96',
    500: '#48186b',
    950: '#000000',
  },
}
SCSS
$custom: #48186b;
$custom-light: #7f5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#48186b",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 274.699,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.331,
    "c": 0.13686,
    "h": 306.6
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#48186B
secondary
#68A13E
accent
#E64187
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48186B

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

Preview Lab → · Contrast checker → · Palette generator →

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