#48166C#48166C

#48166C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.140 H 306.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#48166C
RGBrgb(72, 22, 108)
HSLhsl(275, 66%, 25%)
HSVhsv(275, 80%, 42%)
CMYKcmyk(33.3%, 79.6%, 0%, 57.6%)
CIE-LABlab(20.18, 39.37, -39.69)
CIE-LCHlch(20.18, 55.90, 314.77°)
OKLaboklab(32.96% 0.0834 -0.1129)
OKLCHoklch(32.96% 0.14 306.5)
XYZxyz(5.6656, 3.0343, 14.4717)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48166C #3A6C16
analogous
#1D166C #48166C #6C1665
triadic
#48166C #6C4816 #166C48
tetradic
#48166C #6C1D16 #3A6C16 #16656C
square
#48166C #6C1D16 #3A6C16 #16656C
split-complementary
#48166C #656C16 #166C1D
monochromatic
#110519 #260C39 #48166C #6A209F #8C2BD2

Accessibility & contrast

On white

13.07
#48166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48166C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48166C#FFFFFF#000000##FFFFFF
##48166C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#422B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48166c;
/* rgb */ color: rgb(72, 22, 108);
/* oklch */ color: oklch(33.0% 0.140 306.5);
Tailwind
colors: {
  custom: {
    50: '#7f5997',
    500: '#48166c',
    950: '#000000',
  },
}
SCSS
$custom: #48166c;
$custom-light: #7f5997;
$custom-dark: #000000;
JSON
{
  "hex": "#48166c",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 274.884,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.14034,
    "h": 306.5
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#48166C
secondary
#67A23C
accent
#E93F86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48166C

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

Preview Lab → · Contrast checker → · Palette generator →

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