#48289A#48289A

#48289A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.173 H 288.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#48289A
RGBrgb(72, 40, 154)
HSLhsl(257, 59%, 38%)
HSVhsv(257, 74%, 60%)
CMYKcmyk(53.2%, 74%, 0%, 39.6%)
CIE-LABlab(27.37, 43.13, -56.91)
CIE-LCHlch(27.37, 71.41, 307.16°)
OKLaboklab(39.3% 0.0553 -0.1635)
OKLCHoklch(39.3% 0.173 288.7)
XYZxyz(9.2623, 5.2280, 31.0866)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48289A #7A9A28
analogous
#28419A #48289A #81289A
triadic
#48289A #9A4828 #289A48
tetradic
#48289A #9A2841 #7A9A28 #289A81
square
#48289A #9A2841 #7A9A28 #289A81
split-complementary
#48289A #9A8128 #419A28
monochromatic
#1B0F39 #311B69 #48289A #5F35CA #8565D7

Accessibility & contrast

On white

10.27
#48289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#48289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48289A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48289A#FFFFFF#000000##FFFFFF
##48289A1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#29475F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48289a;
/* rgb */ color: rgb(72, 40, 154);
/* oklch */ color: oklch(39.3% 0.173 288.7);
Tailwind
colors: {
  custom: {
    50: '#8465b9',
    500: '#48289a',
    950: '#000000',
  },
}
SCSS
$custom: #48289a;
$custom-light: #8465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48289a",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 256.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.17263,
    "h": 288.7
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#48289A
secondary
#A3BD61
accent
#E246B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48289A

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

Preview Lab → · Contrast checker → · Palette generator →

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