#48167E#48167E

#48167E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.160 H 299.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#48167E
RGBrgb(72, 22, 126)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 83%, 49%)
CMYKcmyk(42.9%, 82.5%, 0%, 50.6%)
CIE-LABlab(21.79, 43.90, -48.62)
CIE-LCHlch(21.79, 65.51, 312.08°)
OKLaboklab(34.59% 0.0783 -0.1391)
OKLCHoklch(34.59% 0.16 299.4)
XYZxyz(6.7243, 3.4578, 20.0478)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48167E #4C7E16
analogous
#16187E #48167E #7C167E
triadic
#48167E #7E4816 #167E48
tetradic
#48167E #7E1618 #4C7E16 #167E7C
square
#48167E #7E1618 #4C7E16 #167E7C
split-complementary
#48167E #7E7C16 #187E16
monochromatic
#0F051A #2A0D4A #48167E #661FB2 #8433DB

Accessibility & contrast

On white

12.41
#48167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48167E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48167E#FFFFFF#000000##FFFFFF
##48167E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48167e;
/* rgb */ color: rgb(72, 22, 126);
/* oklch */ color: oklch(34.6% 0.160 299.4);
Tailwind
colors: {
  custom: {
    50: '#815aa4',
    500: '#48167e',
    950: '#000000',
  },
}
SCSS
$custom: #48167e;
$custom-light: #815aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#48167e",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 268.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.15965,
    "h": 299.4
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#48167E
secondary
#7AB33D
accent
#ED3B97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48167E

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

Preview Lab → · Contrast checker → · Palette generator →

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