#48186D#48186D

#48186D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.139 H 305.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#48186D
RGBrgb(72, 24, 109)
HSLhsl(274, 64%, 26%)
HSVhsv(274, 78%, 43%)
CMYKcmyk(33.9%, 78%, 0%, 57.3%)
CIE-LABlab(20.58, 38.72, -39.69)
CIE-LCHlch(20.58, 55.45, 314.29°)
OKLaboklab(33.27% 0.0812 -0.1129)
OKLCHoklch(33.27% 0.139 305.7)
XYZxyz(5.7588, 3.1352, 14.7668)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48186D #3D6D18
analogous
#1D186D #48186D #6D1867
triadic
#48186D #6D4818 #186D48
tetradic
#48186D #6D1D18 #3D6D18 #18676D
square
#48186D #6D1D18 #3D6D18 #18676D
split-complementary
#48186D #676D18 #186D1D
monochromatic
#110619 #270D3B #48186D #69239F #8A2ED1

Accessibility & contrast

On white

12.91
#48186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#48186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48186D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48186D#FFFFFF#000000##FFFFFF
##48186D1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#412D41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #48186d;
/* rgb */ color: rgb(72, 24, 109);
/* oklch */ color: oklch(33.3% 0.139 305.7);
Tailwind
colors: {
  custom: {
    50: '#7f5a97',
    500: '#48186d',
    950: '#000000',
  },
}
SCSS
$custom: #48186d;
$custom-light: #7f5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#48186d",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 273.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.13905,
    "h": 305.7
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#48186D
secondary
#6AA33E
accent
#E74189
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #48186D

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

Preview Lab → · Contrast checker → · Palette generator →

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