#48167B#48167B

#48167B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.156 H 300.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#48167B
RGBrgb(72, 22, 123)
HSLhsl(270, 70%, 28%)
HSVhsv(270, 82%, 48%)
CMYKcmyk(41.5%, 82.1%, 0%, 51.8%)
CIE-LABlab(21.51, 43.14, -47.17)
CIE-LCHlch(21.51, 63.92, 312.44°)
OKLaboklab(34.31% 0.0793 -0.1348)
OKLCHoklch(34.31% 0.156 300.5)
XYZxyz(6.5337, 3.3815, 19.0435)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48167B #497B16
analogous
#16167B #48167B #7A167B
triadic
#48167B #7B4816 #167B48
tetradic
#48167B #7B1616 #497B16 #167B7A
square
#48167B #7B1616 #497B16 #167B7A
split-complementary
#48167B #7B7A16 #167B16
monochromatic
#0F051A #2A0D47 #48167B #661FAF #8531DA

Accessibility & contrast

On white

12.53
#48167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#48167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48167B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48167B#FFFFFF#000000##FFFFFF
##48167B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#3C3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48167b;
/* rgb */ color: rgb(72, 22, 123);
/* oklch */ color: oklch(34.3% 0.156 300.5);
Tailwind
colors: {
  custom: {
    50: '#815aa2',
    500: '#48167b',
    950: '#000000',
  },
}
SCSS
$custom: #48167b;
$custom-light: #815aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#48167b",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 269.703,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34308,
    "c": 0.15643,
    "h": 300.5
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#48167B
secondary
#77B03D
accent
#EC3B95
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48167B

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

Preview Lab → · Contrast checker → · Palette generator →

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