#48287A#48287A

#48287A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.133 H 297.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#48287A
RGBrgb(72, 40, 122)
HSLhsl(263, 51%, 32%)
HSVhsv(263, 67%, 48%)
CMYKcmyk(41%, 67.2%, 0%, 52.2%)
CIE-LABlab(24.64, 33.84, -41.44)
CIE-LCHlch(24.64, 53.50, 309.23°)
OKLaboklab(36.5% 0.061 -0.1181)
OKLCHoklch(36.5% 0.133 297.3)
XYZxyz(6.9432, 4.3003, 18.8728)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48287A #5A7A28
analogous
#28317A #48287A #71287A
triadic
#48287A #7A4828 #287A48
tetradic
#48287A #7A2831 #5A7A28 #287A71
square
#48287A #7A2831 #5A7A28 #287A71
split-complementary
#48287A #7A7128 #317A28
monochromatic
#120A1E #2D194C #48287A #6337A8 #8255C7

Accessibility & contrast

On white

11.29
#48287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48287A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48287A#FFFFFF#000000##FFFFFF
##48287A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#3C3B4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48287a;
/* rgb */ color: rgb(72, 40, 122);
/* oklch */ color: oklch(36.5% 0.133 297.3);
Tailwind
colors: {
  custom: {
    50: '#7f64a1',
    500: '#48287a',
    950: '#000000',
  },
}
SCSS
$custom: #48287a;
$custom-light: #7f64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#48287a",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 263.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.13293,
    "h": 297.3
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#48287A
secondary
#89AC52
accent
#DA4EA3
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #48287A

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

Preview Lab → · Contrast checker → · Palette generator →

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