#48229A#48229A

#48229A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.179 H 289.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#48229A
RGBrgb(72, 34, 154)
HSLhsl(259, 64%, 37%)
HSVhsv(259, 78%, 60%)
CMYKcmyk(53.2%, 77.9%, 0%, 39.6%)
CIE-LABlab(26.32, 46.14, -58.65)
CIE-LCHlch(26.32, 74.62, 308.19°)
OKLaboklab(38.56% 0.0602 -0.1686)
OKLCHoklch(38.56% 0.179 289.6)
XYZxyz(9.0756, 4.8545, 31.0244)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48229A #749A22
analogous
#22389A #48229A #84229A
triadic
#48229A #9A4822 #229A48
tetradic
#48229A #9A2238 #749A22 #229A84
square
#48229A #9A2238 #749A22 #229A84
split-complementary
#48229A #9A8422 #389A22
monochromatic
#190C36 #311768 #48229A #5F2DCC #845BDB

Accessibility & contrast

On white

10.65
#48229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#48229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48229A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48229A#FFFFFF#000000##FFFFFF
##48229A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#29445D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48229a;
/* rgb */ color: rgb(72, 34, 154);
/* oklch */ color: oklch(38.6% 0.179 289.6);
Tailwind
colors: {
  custom: {
    50: '#8462b9',
    500: '#48229a',
    950: '#000000',
  },
}
SCSS
$custom: #48229a;
$custom-light: #8462b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48229a",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 259,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.17901,
    "h": 289.6
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#48229A
secondary
#9FBF58
accent
#E741B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48229A

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

Preview Lab → · Contrast checker → · Palette generator →

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