#48207D#48207D

#48207D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.147 H 298.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#48207D
RGBrgb(72, 32, 125)
HSLhsl(266, 59%, 31%)
HSVhsv(266, 74%, 49%)
CMYKcmyk(42.4%, 74.4%, 0%, 51%)
CIE-LABlab(23.31, 39.04, -45.51)
CIE-LCHlch(23.31, 59.96, 310.63°)
OKLaboklab(35.63% 0.0694 -0.13)
OKLCHoklch(35.63% 0.147 298.1)
XYZxyz(6.8897, 3.8913, 19.7862)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207D #557D20
analogous
#20277D #48207D #76207D
triadic
#48207D #7D4820 #207D48
tetradic
#48207D #7D2027 #557D20 #207D76
square
#48207D #7D2027 #557D20 #207D76
split-complementary
#48207D #7D7620 #277D20
monochromatic
#10071C #2C144C #48207D #642CAE #8247D0

Accessibility & contrast

On white

11.81
#48207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#48207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48207D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207D#FFFFFF#000000##FFFFFF
##48207D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#3B374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48207d;
/* rgb */ color: rgb(72, 32, 125);
/* oklch */ color: oklch(35.6% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#48207d',
    950: '#000000',
  },
}
SCSS
$custom: #48207d;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#48207d",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 265.806,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.14742,
    "h": 298.1
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#48207D
secondary
#84B049
accent
#E2459F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207D

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

Preview Lab → · Contrast checker → · Palette generator →

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