#48218F#48218F

#48218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.167 H 292.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#48218F
RGBrgb(72, 33, 143)
HSLhsl(261, 63%, 35%)
HSVhsv(261, 77%, 56%)
CMYKcmyk(49.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(25.10, 43.53, -53.86)
CIE-LCHlch(25.10, 69.25, 308.94°)
OKLaboklab(37.39% 0.0641 -0.1546)
OKLCHoklch(37.39% 0.167 292.5)
XYZxyz(8.1729, 4.4483, 26.4093)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218F #688F21
analogous
#21318F #48218F #7F218F
triadic
#48218F #8F4821 #218F48
tetradic
#48218F #8F2131 #688F21 #218F7F
square
#48218F #8F2131 #688F21 #218F7F
split-complementary
#48218F #8F7F21 #318F21
monochromatic
#160A2C #2F165D #48218F #612CC1 #8253D7

Accessibility & contrast

On white

11.11
#48218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#48218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48218F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218F#FFFFFF#000000##FFFFFF
##48218F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#313F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48218f;
/* rgb */ color: rgb(72, 33, 143);
/* oklch */ color: oklch(37.4% 0.167 292.5);
Tailwind
colors: {
  custom: {
    50: '#8361b1',
    500: '#48218f',
    950: '#000000',
  },
}
SCSS
$custom: #48218f;
$custom-light: #8361b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48218f",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 261.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.16732,
    "h": 292.5
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#48218F
secondary
#95BB51
accent
#E642AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48218F

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

Preview Lab → · Contrast checker → · Palette generator →

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