#48229C#48229C

#48229C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.181 H 289.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#48229C
RGBrgb(72, 34, 156)
HSLhsl(259, 64%, 37%)
HSVhsv(259, 78%, 61%)
CMYKcmyk(53.8%, 78.2%, 0%, 38.8%)
CIE-LABlab(26.51, 46.70, -59.55)
CIE-LCHlch(26.51, 75.68, 308.10°)
OKLaboklab(38.75% 0.0596 -0.1712)
OKLCHoklch(38.75% 0.181 289.2)
XYZxyz(9.2435, 4.9216, 31.9090)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48229C #769C22
analogous
#22399C #48229C #85229C
triadic
#48229C #9C4822 #229C48
tetradic
#48229C #9C2239 #769C22 #229C85
square
#48229C #9C2239 #769C22 #229C85
split-complementary
#48229C #9C8522 #399C22
monochromatic
#1A0C38 #31176A #48229C #5F2DCE #845DDC

Accessibility & contrast

On white

10.58
#48229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#48229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48229C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48229C#FFFFFF#000000##FFFFFF
##48229C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#27455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48229c;
/* rgb */ color: rgb(72, 34, 156);
/* oklch */ color: oklch(38.8% 0.181 289.2);
Tailwind
colors: {
  custom: {
    50: '#8562ba',
    500: '#48229c',
    950: '#000000',
  },
}
SCSS
$custom: #48229c;
$custom-light: #8562ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48229c",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 258.689,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.1813,
    "h": 289.2
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#48229C
secondary
#A0C05A
accent
#E741B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48229C

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

Preview Lab → · Contrast checker → · Palette generator →

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