#48208C#48208C

#48208C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.165 H 293.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#48208C
RGBrgb(72, 32, 140)
HSLhsl(262, 63%, 34%)
HSVhsv(262, 77%, 55%)
CMYKcmyk(48.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(24.65, 43.18, -52.74)
CIE-LCHlch(24.65, 68.16, 309.31°)
OKLaboklab(36.99% 0.0658 -0.1513)
OKLCHoklch(36.99% 0.165 293.5)
XYZxyz(7.9213, 4.3039, 25.2192)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48208C #648C20
analogous
#202E8C #48208C #7E208C
triadic
#48208C #8C4820 #208C48
tetradic
#48208C #8C202E #648C20 #208C7E
square
#48208C #8C202E #648C20 #208C7E
split-complementary
#48208C #8C7E20 #2E8C20
monochromatic
#150928 #2E155A #48208C #622BBE #8250D7

Accessibility & contrast

On white

11.29
#48208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48208C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48208C#FFFFFF#000000##FFFFFF
##48208C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48208c;
/* rgb */ color: rgb(72, 32, 140);
/* oklch */ color: oklch(37.0% 0.165 293.5);
Tailwind
colors: {
  custom: {
    50: '#8260af',
    500: '#48208c',
    950: '#000000',
  },
}
SCSS
$custom: #48208c;
$custom-light: #8260af;
$custom-dark: #000000;
JSON
{
  "hex": "#48208c",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 262.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.16493,
    "h": 293.5
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#48208C
secondary
#92BA4E
accent
#E642A9
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48208C

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

Preview Lab → · Contrast checker → · Palette generator →

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