#48218E#48218E

#48218E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.166 H 292.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#48218E
RGBrgb(72, 33, 142)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 77%, 56%)
CMYKcmyk(49.3%, 76.8%, 0%, 44.3%)
CIE-LABlab(25.01, 43.25, -53.40)
CIE-LCHlch(25.01, 68.71, 309.01°)
OKLaboklab(37.3% 0.0643 -0.1532)
OKLCHoklch(37.3% 0.166 292.8)
XYZxyz(8.0975, 4.4181, 26.0121)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218E #678E21
analogous
#21318E #48218E #7F218E
triadic
#48218E #8E4821 #218E48
tetradic
#48218E #8E2131 #678E21 #218E7F
square
#48218E #8E2131 #678E21 #218E7F
split-complementary
#48218E #8E7F21 #318E21
monochromatic
#160A2B #2F155C #48218E #612DC0 #8252D7

Accessibility & contrast

On white

11.15
#48218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#48218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48218E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218E#FFFFFF#000000##FFFFFF
##48218E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#323F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48218e;
/* rgb */ color: rgb(72, 33, 142);
/* oklch */ color: oklch(37.3% 0.166 292.8);
Tailwind
colors: {
  custom: {
    50: '#8361b0',
    500: '#48218e',
    950: '#000000',
  },
}
SCSS
$custom: #48218e;
$custom-light: #8361b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48218e",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 261.468,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37296,
    "c": 0.16616,
    "h": 292.8
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#48218E
secondary
#94BA50
accent
#E542AB
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48218E

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

Preview Lab → · Contrast checker → · Palette generator →

#48218E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva