#48207F#48207F

#48207F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.150 H 297.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#48207F
RGBrgb(72, 32, 127)
HSLhsl(265, 60%, 31%)
HSVhsv(265, 75%, 50%)
CMYKcmyk(43.3%, 74.8%, 0%, 50.2%)
CIE-LABlab(23.48, 39.59, -46.49)
CIE-LCHlch(23.48, 61.07, 310.42°)
OKLaboklab(35.8% 0.069 -0.1329)
OKLCHoklch(35.8% 0.15 297.4)
XYZxyz(7.0188, 3.9429, 20.4658)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207F #577F20
analogous
#20277F #48207F #77207F
triadic
#48207F #7F4820 #207F48
tetradic
#48207F #7F2027 #577F20 #207F77
square
#48207F #7F2027 #577F20 #207F77
split-complementary
#48207F #7F7720 #277F20
monochromatic
#11071D #2C144E #48207F #642CB0 #8248D1

Accessibility & contrast

On white

11.74
#48207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#48207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48207F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207F#FFFFFF#000000##FFFFFF
##48207F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48207f;
/* rgb */ color: rgb(72, 32, 127);
/* oklch */ color: oklch(35.8% 0.150 297.4);
Tailwind
colors: {
  custom: {
    50: '#815fa5',
    500: '#48207f',
    950: '#000000',
  },
}
SCSS
$custom: #48207f;
$custom-light: #815fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#48207f",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 265.263,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35802,
    "c": 0.14977,
    "h": 297.4
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#48207F
secondary
#86B249
accent
#E345A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207F

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

Preview Lab → · Contrast checker → · Palette generator →

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