#48167F#48167F

#48167F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.161 H 299.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#48167F
RGBrgb(72, 22, 127)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 83%, 50%)
CMYKcmyk(43.3%, 82.7%, 0%, 50.2%)
CIE-LABlab(21.89, 44.16, -49.10)
CIE-LCHlch(21.89, 66.04, 311.97°)
OKLaboklab(34.68% 0.078 -0.1405)
OKLCHoklch(34.68% 0.161 299)
XYZxyz(6.7892, 3.4837, 20.3893)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48167F #4D7F16
analogous
#16197F #48167F #7D167F
triadic
#48167F #7F4816 #167F48
tetradic
#48167F #7F1619 #4D7F16 #167F7D
square
#48167F #7F1619 #4D7F16 #167F7D
split-complementary
#48167F #7F7D16 #197F16
monochromatic
#0F051A #2A0D4B #48167F #661FB3 #8434DC

Accessibility & contrast

On white

12.38
#48167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#48167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48167F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48167F#FFFFFF#000000##FFFFFF
##48167F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#3A334B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48167f;
/* rgb */ color: rgb(72, 22, 127);
/* oklch */ color: oklch(34.7% 0.161 299.0);
Tailwind
colors: {
  custom: {
    50: '#815aa5',
    500: '#48167f',
    950: '#000000',
  },
}
SCSS
$custom: #48167f;
$custom-light: #815aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#48167f",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 268.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.16072,
    "h": 299
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#48167F
secondary
#7BB43D
accent
#ED3B98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48167F

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

Preview Lab → · Contrast checker → · Palette generator →

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