#482154#482154

#482154 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.097 H 317.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#482154
RGBrgb(72, 33, 84)
HSLhsl(286, 44%, 23%)
HSVhsv(286, 61%, 33%)
CMYKcmyk(14.3%, 60.7%, 0%, 67.1%)
CIE-LABlab(20.46, 27.86, -23.38)
CIE-LCHlch(20.46, 36.37, 320.00°)
OKLaboklab(32.61% 0.0715 -0.0651)
OKLCHoklch(32.61% 0.097 317.7)
XYZxyz(4.8164, 3.1057, 8.7315)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482154 #2D5421
analogous
#2E2154 #482154 #542146
triadic
#482154 #544821 #215448
tetradic
#482154 #542E21 #2D5421 #214654
square
#482154 #542E21 #2D5421 #214654
split-complementary
#482154 #465421 #21542E
monochromatic
#130916 #221028 #482154 #6E3280 #9344AC

Accessibility & contrast

On white

12.95
#482154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#482154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482154
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482154#FFFFFF#000000##FFFFFF
##4821541.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F56
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#482937
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #482154;
/* rgb */ color: rgb(72, 33, 84);
/* oklch */ color: oklch(32.6% 0.097 317.7);
Tailwind
colors: {
  custom: {
    50: '#7d5e84',
    500: '#482154',
    950: '#000000',
  },
}
SCSS
$custom: #482154;
$custom-light: #7d5e84;
$custom-dark: #000000;
JSON
{
  "hex": "#482154",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 285.882,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.09672,
    "h": 317.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#482154
secondary
#588849
accent
#D35472
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #482154

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

Preview Lab → · Contrast checker → · Palette generator →

#482154 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva