#48218C#48218C

#48218C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.164 H 293.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#48218C
RGBrgb(72, 33, 140)
HSLhsl(262, 62%, 34%)
HSVhsv(262, 76%, 55%)
CMYKcmyk(48.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(24.82, 42.69, -52.46)
CIE-LCHlch(24.82, 67.63, 309.14°)
OKLaboklab(37.11% 0.0649 -0.1504)
OKLCHoklch(37.11% 0.164 293.3)
XYZxyz(7.9487, 4.3586, 25.2284)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218C #658C21
analogous
#21308C #48218C #7E218C
triadic
#48218C #8C4821 #218C48
tetradic
#48218C #8C2130 #658C21 #218C7E
square
#48218C #8C2130 #658C21 #218C7E
split-complementary
#48218C #8C7E21 #308C21
monochromatic
#150A29 #2F155A #48218C #612DBE #8251D6

Accessibility & contrast

On white

11.22
#48218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48218C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218C#FFFFFF#000000##FFFFFF
##48218C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48218c;
/* rgb */ color: rgb(72, 33, 140);
/* oklch */ color: oklch(37.1% 0.164 293.3);
Tailwind
colors: {
  custom: {
    50: '#8261af',
    500: '#48218c',
    950: '#000000',
  },
}
SCSS
$custom: #48218c;
$custom-light: #8261af;
$custom-dark: #000000;
JSON
{
  "hex": "#48218c",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 261.869,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.16383,
    "h": 293.3
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#48218C
secondary
#93B94F
accent
#E543AA
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48218C

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

Preview Lab → · Contrast checker → · Palette generator →

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