#48207C#48207C

#48207C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.146 H 298.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#48207C
RGBrgb(72, 32, 124)
HSLhsl(266, 59%, 31%)
HSVhsv(266, 74%, 49%)
CMYKcmyk(41.9%, 74.2%, 0%, 51.4%)
CIE-LABlab(23.22, 38.77, -45.01)
CIE-LCHlch(23.22, 59.41, 310.74°)
OKLaboklab(35.54% 0.0697 -0.1286)
OKLCHoklch(35.54% 0.146 298.4)
XYZxyz(6.8262, 3.8659, 19.4514)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207C #547C20
analogous
#20267C #48207C #76207C
triadic
#48207C #7C4820 #207C48
tetradic
#48207C #7C2026 #547C20 #207C76
square
#48207C #7C2026 #547C20 #207C76
split-complementary
#48207C #7C7620 #267C20
monochromatic
#10071B #2C134B #48207C #642DAD #8247CF

Accessibility & contrast

On white

11.84
#48207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#48207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48207C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207C#FFFFFF#000000##FFFFFF
##48207C1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3B374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48207c;
/* rgb */ color: rgb(72, 32, 124);
/* oklch */ color: oklch(35.5% 0.146 298.4);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#48207c',
    950: '#000000',
  },
}
SCSS
$custom: #48207c;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#48207c",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 266.087,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.14624,
    "h": 298.4
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#48207C
secondary
#83AF49
accent
#E2469E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207C

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

Preview Lab → · Contrast checker → · Palette generator →

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