#48287D#48287D

#48287D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.137 H 296.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#48287D
RGBrgb(72, 40, 125)
HSLhsl(263, 52%, 32%)
HSVhsv(263, 68%, 49%)
CMYKcmyk(42.4%, 68%, 0%, 51%)
CIE-LABlab(24.88, 34.70, -42.96)
CIE-LCHlch(24.88, 55.22, 308.93°)
OKLaboklab(36.75% 0.0606 -0.1226)
OKLCHoklch(36.75% 0.137 296.3)
XYZxyz(7.1320, 4.3758, 19.8669)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48287D #5D7D28
analogous
#28337D #48287D #72287D
triadic
#48287D #7D4828 #287D48
tetradic
#48287D #7D2833 #5D7D28 #287D72
square
#48287D #7D2833 #5D7D28 #287D72
split-complementary
#48287D #7D7228 #337D28
monochromatic
#130A20 #2D194F #48287D #6337AB #8256C9

Accessibility & contrast

On white

11.20
#48287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#48287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48287D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48287D#FFFFFF#000000##FFFFFF
##48287D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#3B3C4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48287d;
/* rgb */ color: rgb(72, 40, 125);
/* oklch */ color: oklch(36.7% 0.137 296.3);
Tailwind
colors: {
  custom: {
    50: '#8064a3',
    500: '#48287d',
    950: '#000000',
  },
}
SCSS
$custom: #48287d;
$custom-light: #8064a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48287d",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 262.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36747,
    "c": 0.13675,
    "h": 296.3
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#48287D
secondary
#8CAE53
accent
#DB4DA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48287D

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

Preview Lab → · Contrast checker → · Palette generator →

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