#48228B#48228B

#48228B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.162 H 293.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#48228B
RGBrgb(72, 34, 139)
HSLhsl(262, 61%, 34%)
HSVhsv(262, 76%, 55%)
CMYKcmyk(48.2%, 75.5%, 0%, 45.5%)
CIE-LABlab(24.91, 41.91, -51.69)
CIE-LCHlch(24.91, 66.55, 309.03°)
OKLaboklab(37.14% 0.0642 -0.1482)
OKLCHoklch(37.14% 0.162 293.4)
XYZxyz(7.9034, 4.3856, 24.8512)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48228B #658B22
analogous
#22318B #48228B #7D228B
triadic
#48228B #8B4822 #228B48
tetradic
#48228B #8B2231 #658B22 #228B7D
square
#48228B #8B2231 #658B22 #228B7D
split-complementary
#48228B #8B7D22 #318B22
monochromatic
#150A29 #2F165A #48228B #612EBC #8253D5

Accessibility & contrast

On white

11.19
#48228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#48228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48228B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48228B#FFFFFF#000000##FFFFFF
##48228B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#343E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48228b;
/* rgb */ color: rgb(72, 34, 139);
/* oklch */ color: oklch(37.1% 0.162 293.4);
Tailwind
colors: {
  custom: {
    50: '#8261ae',
    500: '#48228b',
    950: '#000000',
  },
}
SCSS
$custom: #48228b;
$custom-light: #8261ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48228b",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 261.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.16154,
    "h": 293.4
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#48228B
secondary
#93B850
accent
#E444AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48228B

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

Preview Lab → · Contrast checker → · Palette generator →

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