#48207E#48207E

#48207E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.149 H 297.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#48207E
RGBrgb(72, 32, 126)
HSLhsl(266, 59%, 31%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(42.9%, 74.6%, 0%, 50.6%)
CIE-LABlab(23.40, 39.32, -46.00)
CIE-LCHlch(23.40, 60.51, 310.52°)
OKLaboklab(35.71% 0.0692 -0.1315)
OKLCHoklch(35.71% 0.149 297.8)
XYZxyz(6.9539, 3.9170, 20.1243)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207E #567E20
analogous
#20277E #48207E #77207E
triadic
#48207E #7E4820 #207E48
tetradic
#48207E #7E2027 #567E20 #207E77
square
#48207E #7E2027 #567E20 #207E77
split-complementary
#48207E #7E7720 #277E20
monochromatic
#10071C #2C144D #48207E #642CAF #8248D0

Accessibility & contrast

On white

11.78
#48207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48207E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207E#FFFFFF#000000##FFFFFF
##48207E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#3A384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48207e;
/* rgb */ color: rgb(72, 32, 126);
/* oklch */ color: oklch(35.7% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#805fa4',
    500: '#48207e',
    950: '#000000',
  },
}
SCSS
$custom: #48207e;
$custom-light: #805fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#48207e",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 265.532,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35714,
    "c": 0.1486,
    "h": 297.8
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#48207E
secondary
#85B149
accent
#E345A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207E

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

Preview Lab → · Contrast checker → · Palette generator →

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