#48167D#48167D

#48167D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.159 H 299.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#48167D
RGBrgb(72, 22, 125)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(42.4%, 82.4%, 0%, 51%)
CIE-LABlab(21.70, 43.65, -48.14)
CIE-LCHlch(21.70, 64.98, 312.20°)
OKLaboklab(34.49% 0.0787 -0.1377)
OKLCHoklch(34.49% 0.159 299.7)
XYZxyz(6.6601, 3.4321, 19.7096)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48167D #4B7D16
analogous
#16187D #48167D #7C167D
triadic
#48167D #7D4816 #167D48
tetradic
#48167D #7D1618 #4B7D16 #167D7C
square
#48167D #7D1618 #4B7D16 #167D7C
split-complementary
#48167D #7D7C16 #187D16
monochromatic
#0F051A #2A0D49 #48167D #661FB1 #8432DB

Accessibility & contrast

On white

12.45
#48167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#48167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48167D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48167D#FFFFFF#000000##FFFFFF
##48167D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#3B334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48167d;
/* rgb */ color: rgb(72, 22, 125);
/* oklch */ color: oklch(34.5% 0.159 299.7);
Tailwind
colors: {
  custom: {
    50: '#815aa4',
    500: '#48167d',
    950: '#000000',
  },
}
SCSS
$custom: #48167d;
$custom-light: #815aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#48167d",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 269.126,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.15858,
    "h": 299.7
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#48167D
secondary
#79B23D
accent
#ED3B96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48167D

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

Preview Lab → · Contrast checker → · Palette generator →

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