#48289B#48289B

#48289B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.174 H 288.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#48289B
RGBrgb(72, 40, 155)
HSLhsl(257, 59%, 38%)
HSVhsv(257, 74%, 61%)
CMYKcmyk(53.5%, 74.2%, 0%, 39.2%)
CIE-LABlab(27.47, 43.42, -57.37)
CIE-LCHlch(27.47, 71.95, 307.12°)
OKLaboklab(39.4% 0.055 -0.1649)
OKLCHoklch(39.4% 0.174 288.4)
XYZxyz(9.3459, 5.2614, 31.5271)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48289B #7B9B28
analogous
#28419B #48289B #81289B
triadic
#48289B #9B4828 #289B48
tetradic
#48289B #9B2841 #7B9B28 #289B81
square
#48289B #9B2841 #7B9B28 #289B81
split-complementary
#48289B #9B8128 #419B28
monochromatic
#1B0F3A #311B6A #48289B #5F35CB #8666D7

Accessibility & contrast

On white

10.23
#48289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48289B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48289B#FFFFFF#000000##FFFFFF
##48289B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#28475F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48289b;
/* rgb */ color: rgb(72, 40, 155);
/* oklch */ color: oklch(39.4% 0.174 288.4);
Tailwind
colors: {
  custom: {
    50: '#8465b9',
    500: '#48289b',
    950: '#000000',
  },
}
SCSS
$custom: #48289b;
$custom-light: #8465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48289b",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 256.696,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39398,
    "c": 0.17383,
    "h": 288.4
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#48289B
secondary
#A4BD61
accent
#E246B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48289B

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

Preview Lab → · Contrast checker → · Palette generator →

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