#48207A#48207A

#48207A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.144 H 299.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#48207A
RGBrgb(72, 32, 122)
HSLhsl(267, 58%, 30%)
HSVhsv(267, 74%, 48%)
CMYKcmyk(41%, 73.8%, 0%, 52.2%)
CIE-LABlab(23.05, 38.22, -44.02)
CIE-LCHlch(23.05, 58.30, 310.97°)
OKLaboklab(35.37% 0.0701 -0.1257)
OKLCHoklch(35.37% 0.144 299.1)
XYZxyz(6.7010, 3.8158, 18.7921)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207A #527A20
analogous
#20257A #48207A #75207A
triadic
#48207A #7A4820 #207A48
tetradic
#48207A #7A2025 #527A20 #207A75
square
#48207A #7A2025 #527A20 #207A75
split-complementary
#48207A #7A7520 #257A20
monochromatic
#0F0719 #2B134A #48207A #652DAA #8346CE

Accessibility & contrast

On white

11.91
#48207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#48207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48207A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207A#FFFFFF#000000##FFFFFF
##48207A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#3C364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48207a;
/* rgb */ color: rgb(72, 32, 122);
/* oklch */ color: oklch(35.4% 0.144 299.1);
Tailwind
colors: {
  custom: {
    50: '#805fa1',
    500: '#48207a',
    950: '#000000',
  },
}
SCSS
$custom: #48207a;
$custom-light: #805fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#48207a",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 266.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.14388,
    "h": 299.1
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#48207A
secondary
#80AD49
accent
#E2469D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207A

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

Preview Lab → · Contrast checker → · Palette generator →

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