#48166F#48166F

#48166F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.144 H 305.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#48166F
RGBrgb(72, 22, 111)
HSLhsl(274, 67%, 26%)
HSVhsv(274, 80%, 44%)
CMYKcmyk(35.1%, 80.2%, 0%, 56.5%)
CIE-LABlab(20.44, 40.11, -41.22)
CIE-LCHlch(20.44, 57.51, 314.22°)
OKLaboklab(33.22% 0.0827 -0.1174)
OKLCHoklch(33.22% 0.144 305.2)
XYZxyz(5.8280, 3.0993, 15.3270)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48166F #3D6F16
analogous
#1B166F #48166F #6F1669
triadic
#48166F #6F4816 #166F48
tetradic
#48166F #6F1B16 #3D6F16 #16696F
square
#48166F #6F1B16 #3D6F16 #16696F
split-complementary
#48166F #696F16 #166F1B
monochromatic
#11051A #270C3C #48166F #6920A2 #8A2BD5

Accessibility & contrast

On white

12.96
#48166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#48166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48166F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48166F#FFFFFF#000000##FFFFFF
##48166F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#412D42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48166f;
/* rgb */ color: rgb(72, 22, 111);
/* oklch */ color: oklch(33.2% 0.144 305.2);
Tailwind
colors: {
  custom: {
    50: '#7f5999',
    500: '#48166f',
    950: '#000000',
  },
}
SCSS
$custom: #48166f;
$custom-light: #7f5999;
$custom-dark: #000000;
JSON
{
  "hex": "#48166f",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 273.708,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33224,
    "c": 0.14357,
    "h": 305.2
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#48166F
secondary
#6AA53C
accent
#EA3E89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48166F

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

Preview Lab → · Contrast checker → · Palette generator →

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