#48287C#48287C

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

Color values

HEX#48287C
RGBrgb(72, 40, 124)
HSLhsl(263, 51%, 32%)
HSVhsv(263, 68%, 49%)
CMYKcmyk(41.9%, 67.7%, 0%, 51.4%)
CIE-LABlab(24.80, 34.41, -42.46)
CIE-LCHlch(24.80, 54.65, 309.03°)
OKLaboklab(36.67% 0.0608 -0.1211)
OKLCHoklch(36.67% 0.135 296.6)
XYZxyz(7.0684, 4.3504, 19.5322)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48287C #5C7C28
analogous
#28327C #48287C #72287C
triadic
#48287C #7C4828 #287C48
tetradic
#48287C #7C2832 #5C7C28 #287C72
square
#48287C #7C2832 #5C7C28 #287C72
split-complementary
#48287C #7C7228 #327C28
monochromatic
#120A1F #2D194E #48287C #6337AA #8256C8

Accessibility & contrast

On white

11.23
#48287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48287C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48287C#FFFFFF#000000##FFFFFF
##48287C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#3B3B4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48287c;
/* rgb */ color: rgb(72, 40, 124);
/* oklch */ color: oklch(36.7% 0.135 296.6);
Tailwind
colors: {
  custom: {
    50: '#8064a3',
    500: '#48287c',
    950: '#000000',
  },
}
SCSS
$custom: #48287c;
$custom-light: #8064a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48287c",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 262.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.13548,
    "h": 296.6
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48287C

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

Preview Lab → · Contrast checker → · Palette generator →

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