#48286B#48286B

#48286B is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.114 H 303.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#48286B
RGBrgb(72, 40, 107)
HSLhsl(269, 46%, 29%)
HSVhsv(269, 63%, 42%)
CMYKcmyk(32.7%, 62.6%, 0%, 58%)
CIE-LABlab(23.53, 29.64, -33.63)
CIE-LCHlch(23.53, 44.82, 311.39°)
OKLaboklab(35.34% 0.0619 -0.0951)
OKLCHoklch(35.34% 0.114 303.1)
XYZxyz(6.0845, 3.9568, 14.3503)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48286B #4B6B28
analogous
#282A6B #48286B #6A286B
triadic
#48286B #6B4828 #286B48
tetradic
#48286B #6B282A #4B6B28 #286B6A
square
#48286B #6B282A #4B6B28 #286B6A
split-complementary
#48286B #6B6A28 #2A6B28
monochromatic
#0F0816 #2A173E #48286B #663998 #8450BE

Accessibility & contrast

On white

11.72
#48286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#48286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48286B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48286B#FFFFFF#000000##FFFFFF
##48286B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376D
Deuteranopia (green-blind)
#173869
Tritanopia (blue-blind)
#413645
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48286b;
/* rgb */ color: rgb(72, 40, 107);
/* oklch */ color: oklch(35.3% 0.114 303.1);
Tailwind
colors: {
  custom: {
    50: '#7e6396',
    500: '#48286b',
    950: '#000000',
  },
}
SCSS
$custom: #48286b;
$custom-light: #7e6396;
$custom-dark: #000000;
JSON
{
  "hex": "#48286b",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 268.657,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35341,
    "c": 0.11353,
    "h": 303.1
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#48286B
secondary
#799D51
accent
#D55397
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #48286B

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

Preview Lab → · Contrast checker → · Palette generator →

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