#582152#582152

#582152 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.9% C 0.105 H 332.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#582152
RGBrgb(88, 33, 82)
HSLhsl(307, 45%, 24%)
HSVhsv(307, 63%, 35%)
CMYKcmyk(0%, 62.5%, 6.8%, 65.5%)
CIE-LABlab(22.90, 32.41, -18.03)
CIE-LCHlch(22.90, 37.08, 330.91°)
OKLaboklab(34.89% 0.0926 -0.0493)
OKLCHoklch(34.89% 0.105 332)
XYZxyz(6.0913, 3.7720, 8.3883)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582152 #215827
analogous
#422158 #582152 #582136
triadic
#582152 #525821 #215258
tetradic
#582152 #584221 #215827 #213658
square
#582152 #584221 #215827 #213658
split-complementary
#582152 #365821 #215842
monochromatic
#160815 #2B1029 #582152 #85327B #B142A5

Accessibility & contrast

On white

11.97
#582152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#582152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582152
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582152#FFFFFF#000000##FFFFFF
##5821521.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#303951
Tritanopia (blue-blind)
#5C2636
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #582152;
/* rgb */ color: rgb(88, 33, 82);
/* oklch */ color: oklch(34.9% 0.105 332.0);
Tailwind
colors: {
  custom: {
    50: '#896083',
    500: '#582152',
    950: '#000000',
  },
}
SCSS
$custom: #582152;
$custom-light: #896083;
$custom-dark: #000000;
JSON
{
  "hex": "#582152",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 306.545,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34889,
    "c": 0.10493,
    "h": 332
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#582152
secondary
#498C50
accent
#D56153
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #582152

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

Preview Lab → · Contrast checker → · Palette generator →

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