#48167C#48167C

#48167C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.158 H 300.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#48167C
RGBrgb(72, 22, 124)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(41.9%, 82.3%, 0%, 51.4%)
CIE-LABlab(21.60, 43.39, -47.66)
CIE-LCHlch(21.60, 64.45, 312.32°)
OKLaboklab(34.4% 0.079 -0.1363)
OKLCHoklch(34.4% 0.158 300.1)
XYZxyz(6.5966, 3.4067, 19.3749)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48167C #4A7C16
analogous
#16177C #48167C #7B167C
triadic
#48167C #7C4816 #167C48
tetradic
#48167C #7C1617 #4A7C16 #167C7B
square
#48167C #7C1617 #4A7C16 #167C7B
split-complementary
#48167C #7C7B16 #177C16
monochromatic
#0F051A #2A0D48 #48167C #661FB0 #8532DB

Accessibility & contrast

On white

12.49
#48167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48167C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48167C#FFFFFF#000000##FFFFFF
##48167C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#3C3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48167c;
/* rgb */ color: rgb(72, 22, 124);
/* oklch */ color: oklch(34.4% 0.158 300.1);
Tailwind
colors: {
  custom: {
    50: '#815aa3',
    500: '#48167c',
    950: '#000000',
  },
}
SCSS
$custom: #48167c;
$custom-light: #815aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#48167c",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 269.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.15751,
    "h": 300.1
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#48167C
secondary
#78B13D
accent
#ED3B96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48167C

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

Preview Lab → · Contrast checker → · Palette generator →

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