#48286A#48286A

#48286A is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.3% C 0.112 H 303.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#48286A
RGBrgb(72, 40, 106)
HSLhsl(269, 45%, 29%)
HSVhsv(269, 62%, 42%)
CMYKcmyk(32.1%, 62.3%, 0%, 58.4%)
CIE-LABlab(23.46, 29.36, -33.09)
CIE-LCHlch(23.46, 44.24, 311.58°)
OKLaboklab(35.27% 0.0619 -0.0936)
OKLCHoklch(35.27% 0.112 303.5)
XYZxyz(6.0322, 3.9359, 14.0748)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48286A #4A6A28
analogous
#28296A #48286A #69286A
triadic
#48286A #6A4828 #286A48
tetradic
#48286A #6A2829 #4A6A28 #286A69
square
#48286A #6A2829 #4A6A28 #286A69
split-complementary
#48286A #6A6928 #296A28
monochromatic
#0F0816 #2A173E #48286A #663996 #8550BD

Accessibility & contrast

On white

11.75
#48286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48286A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48286A#FFFFFF#000000##FFFFFF
##48286A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#183868
Tritanopia (blue-blind)
#423545
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48286a;
/* rgb */ color: rgb(72, 40, 106);
/* oklch */ color: oklch(35.3% 0.112 303.5);
Tailwind
colors: {
  custom: {
    50: '#7e6395',
    500: '#48286a',
    950: '#000000',
  },
}
SCSS
$custom: #48286a;
$custom-light: #7e6395;
$custom-dark: #000000;
JSON
{
  "hex": "#48286a",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 269.091,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.11222,
    "h": 303.5
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#48286A
secondary
#789D51
accent
#D55396
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #48286A

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

Preview Lab → · Contrast checker → · Palette generator →

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