#48288F#48288F

#48288F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.159 H 291.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#48288F
RGBrgb(72, 40, 143)
HSLhsl(259, 56%, 36%)
HSVhsv(259, 72%, 56%)
CMYKcmyk(49.7%, 72%, 0%, 43.9%)
CIE-LABlab(26.38, 39.91, -51.76)
CIE-LCHlch(26.38, 65.36, 307.64°)
OKLaboklab(38.3% 0.0577 -0.1484)
OKLCHoklch(38.3% 0.159 291.2)
XYZxyz(8.3878, 4.8782, 26.4809)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288F #6F8F28
analogous
#283B8F #48288F #7B288F
triadic
#48288F #8F4828 #288F48
tetradic
#48288F #8F283B #6F8F28 #288F7B
square
#48288F #8F283B #6F8F28 #288F7B
split-complementary
#48288F #8F7B28 #3B8F28
monochromatic
#180D2F #301B5F #48288F #6035BF #835FD2

Accessibility & contrast

On white

10.63
#48288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#48288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48288F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288F#FFFFFF#000000##FFFFFF
##48288F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#314258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48288f;
/* rgb */ color: rgb(72, 40, 143);
/* oklch */ color: oklch(38.3% 0.159 291.2);
Tailwind
colors: {
  custom: {
    50: '#8265b1',
    500: '#48288f',
    950: '#000000',
  },
}
SCSS
$custom: #48288f;
$custom-light: #8265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48288f",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 258.641,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.15925,
    "h": 291.2
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#48288F
secondary
#9BB85B
accent
#E048B1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48288F

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

Preview Lab → · Contrast checker → · Palette generator →

#48288F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva