#48228A#48228A

#48228A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.160 H 293.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#48228A
RGBrgb(72, 34, 138)
HSLhsl(262, 60%, 34%)
HSVhsv(262, 75%, 54%)
CMYKcmyk(47.8%, 75.4%, 0%, 45.9%)
CIE-LABlab(24.82, 41.63, -51.22)
CIE-LCHlch(24.82, 66.01, 309.10°)
OKLaboklab(37.05% 0.0645 -0.1468)
OKLCHoklch(37.05% 0.16 293.7)
XYZxyz(7.8307, 4.3565, 24.4681)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48228A #648A22
analogous
#22308A #48228A #7C228A
triadic
#48228A #8A4822 #228A48
tetradic
#48228A #8A2230 #648A22 #228A7C
square
#48228A #8A2230 #648A22 #228A7C
split-complementary
#48228A #8A7C22 #308A22
monochromatic
#150A28 #2E1659 #48228A #622EBB #8252D4

Accessibility & contrast

On white

11.22
#48228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48228A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48228A#FFFFFF#000000##FFFFFF
##48228A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#343D54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48228a;
/* rgb */ color: rgb(72, 34, 138);
/* oklch */ color: oklch(37.0% 0.160 293.7);
Tailwind
colors: {
  custom: {
    50: '#8261ad',
    500: '#48228a',
    950: '#000000',
  },
}
SCSS
$custom: #48228a;
$custom-light: #8261ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48228a",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 261.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.16036,
    "h": 293.7
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#48228A
secondary
#92B850
accent
#E444A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48228A

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

Preview Lab → · Contrast checker → · Palette generator →

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