#48218D#48218D

#48218D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.165 H 293.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#48218D
RGBrgb(72, 33, 141)
HSLhsl(262, 62%, 34%)
HSVhsv(262, 77%, 55%)
CMYKcmyk(48.9%, 76.6%, 0%, 44.7%)
CIE-LABlab(24.92, 42.97, -52.93)
CIE-LCHlch(24.92, 68.17, 309.07°)
OKLaboklab(37.2% 0.0646 -0.1518)
OKLCHoklch(37.2% 0.165 293.1)
XYZxyz(8.0227, 4.3883, 25.6184)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218D #668D21
analogous
#21308D #48218D #7E218D
triadic
#48218D #8D4821 #218D48
tetradic
#48218D #8D2130 #668D21 #218D7E
square
#48218D #8D2130 #668D21 #218D7E
split-complementary
#48218D #8D7E21 #308D21
monochromatic
#150A2A #2F155B #48218D #612DBF #8252D6

Accessibility & contrast

On white

11.18
#48218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48218D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218D#FFFFFF#000000##FFFFFF
##48218D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#333E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48218d;
/* rgb */ color: rgb(72, 33, 141);
/* oklch */ color: oklch(37.2% 0.165 293.1);
Tailwind
colors: {
  custom: {
    50: '#8261af',
    500: '#48218d',
    950: '#000000',
  },
}
SCSS
$custom: #48218d;
$custom-light: #8261af;
$custom-dark: #000000;
JSON
{
  "hex": "#48218d",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 261.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.165,
    "h": 293.1
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#48218D
secondary
#94BA50
accent
#E543AA
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48218D

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

Preview Lab → · Contrast checker → · Palette generator →

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