#48228E#48228E

#48228E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.165 H 292.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#48228E
RGBrgb(72, 34, 142)
HSLhsl(261, 61%, 35%)
HSVhsv(261, 76%, 56%)
CMYKcmyk(49.3%, 76.1%, 0%, 44.3%)
CIE-LABlab(25.18, 42.76, -53.11)
CIE-LCHlch(25.18, 68.18, 308.83°)
OKLaboklab(37.42% 0.0635 -0.1524)
OKLCHoklch(37.42% 0.165 292.6)
XYZxyz(8.1256, 4.4745, 26.0215)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48228E #688E22
analogous
#22328E #48228E #7E228E
triadic
#48228E #8E4822 #228E48
tetradic
#48228E #8E2232 #688E22 #228E7E
square
#48228E #8E2232 #688E22 #228E7E
split-complementary
#48228E #8E7E22 #328E22
monochromatic
#160A2B #2F165D #48228E #612EBF #8254D6

Accessibility & contrast

On white

11.08
#48228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#48228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48228E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48228E#FFFFFF#000000##FFFFFF
##48228E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#323F56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48228e;
/* rgb */ color: rgb(72, 34, 142);
/* oklch */ color: oklch(37.4% 0.165 292.6);
Tailwind
colors: {
  custom: {
    50: '#8261b0',
    500: '#48228e',
    950: '#000000',
  },
}
SCSS
$custom: #48228e;
$custom-light: #8261b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48228e",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 261.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.16506,
    "h": 292.6
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#48228E
secondary
#95BA52
accent
#E443AC
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48228E

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

Preview Lab → · Contrast checker → · Palette generator →

#48228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva