#48216F#48216F

#48216F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.129 H 303.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#48216F
RGBrgb(72, 33, 111)
HSLhsl(270, 54%, 28%)
HSVhsv(270, 70%, 44%)
CMYKcmyk(35.1%, 70.3%, 0%, 56.5%)
CIE-LABlab(22.35, 34.72, -38.11)
CIE-LCHlch(22.35, 51.56, 312.34°)
OKLaboklab(34.58% 0.0707 -0.1083)
OKLCHoklch(34.58% 0.129 303.1)
XYZxyz(6.0849, 3.6131, 15.4127)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48216F #486F21
analogous
#21216F #48216F #6F216F
triadic
#48216F #6F4821 #216F48
tetradic
#48216F #6F2121 #486F21 #216F6F
square
#48216F #6F2121 #486F21 #216F6F
split-complementary
#48216F #6F6F21 #216F21
monochromatic
#0F0718 #291340 #48216F #672F9E #8543C7

Accessibility & contrast

On white

12.19
#48216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#48216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48216F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48216F#FFFFFF#000000##FFFFFF
##48216F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#403345
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #48216f;
/* rgb */ color: rgb(72, 33, 111);
/* oklch */ color: oklch(34.6% 0.129 303.1);
Tailwind
colors: {
  custom: {
    50: '#7f5f99',
    500: '#48216f',
    950: '#000000',
  },
}
SCSS
$custom: #48216f;
$custom-light: #7f5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#48216f",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 270,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34581,
    "c": 0.12936,
    "h": 303.1
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#48216F
secondary
#76A349
accent
#DE4A94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48216F

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

Preview Lab → · Contrast checker → · Palette generator →

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