#482152#482152

#482152 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.5% C 0.094 H 319.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#482152
RGBrgb(72, 33, 82)
HSLhsl(288, 43%, 23%)
HSVhsv(288, 60%, 32%)
CMYKcmyk(12.2%, 59.8%, 0%, 67.8%)
CIE-LABlab(20.34, 27.39, -22.23)
CIE-LCHlch(20.34, 35.27, 320.94°)
OKLaboklab(32.48% 0.0713 -0.0618)
OKLCHoklch(32.48% 0.094 319.1)
XYZxyz(4.7391, 3.0748, 8.3249)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482152 #2B5221
analogous
#2F2152 #482152 #522144
triadic
#482152 #524821 #215248
tetradic
#482152 #522F21 #2B5221 #214452
square
#482152 #522F21 #2B5221 #214452
split-complementary
#482152 #445221 #21522F
monochromatic
#130916 #220F26 #482152 #6E337E #9544A9

Accessibility & contrast

On white

13.00
#482152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482152
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482152#FFFFFF#000000##FFFFFF
##4821521.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#243251
Tritanopia (blue-blind)
#482836
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #482152;
/* rgb */ color: rgb(72, 33, 82);
/* oklch */ color: oklch(32.5% 0.094 319.1);
Tailwind
colors: {
  custom: {
    50: '#7c5e83',
    500: '#482152',
    950: '#000000',
  },
}
SCSS
$custom: #482152;
$custom-light: #7c5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#482152",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 287.755,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.09436,
    "h": 319.1
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#482152
secondary
#558649
accent
#D2556F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #482152

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

Preview Lab → · Contrast checker → · Palette generator →

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