#48229E#48229E

#48229E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 288.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#48229E
RGBrgb(72, 34, 158)
HSLhsl(258, 65%, 38%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(54.4%, 78.5%, 0%, 38%)
CIE-LABlab(26.71, 47.26, -60.45)
CIE-LCHlch(26.71, 76.73, 308.02°)
OKLaboklab(38.95% 0.059 -0.1739)
OKLCHoklch(38.95% 0.184 288.7)
XYZxyz(9.4143, 4.9899, 32.8082)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48229E #789E22
analogous
#223A9E #48229E #86229E
triadic
#48229E #9E4822 #229E48
tetradic
#48229E #9E223A #789E22 #229E86
square
#48229E #9E223A #789E22 #229E86
split-complementary
#48229E #9E8622 #3A9E22
monochromatic
#1A0C39 #31176C #48229E #5F2DD0 #855EDC

Accessibility & contrast

On white

10.51
#48229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#48229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48229E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48229E#FFFFFF#000000##FFFFFF
##48229E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#26455F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48229e;
/* rgb */ color: rgb(72, 34, 158);
/* oklch */ color: oklch(39.0% 0.184 288.7);
Tailwind
colors: {
  custom: {
    50: '#8562bc',
    500: '#48229e',
    950: '#000000',
  },
}
SCSS
$custom: #48229e;
$custom-light: #8562bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48229e",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 258.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.18361,
    "h": 288.7
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#48229E
secondary
#A2C15B
accent
#E840B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48229E

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

Preview Lab → · Contrast checker → · Palette generator →

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