#582155#582155

#582155 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.1% C 0.108 H 329.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#582155
RGBrgb(88, 33, 85)
HSLhsl(303, 45%, 24%)
HSVhsv(303, 63%, 35%)
CMYKcmyk(0%, 62.5%, 3.4%, 65.5%)
CIE-LABlab(23.06, 32.99, -19.78)
CIE-LCHlch(23.06, 38.46, 329.05°)
OKLaboklab(35.06% 0.0931 -0.0543)
OKLCHoklch(35.06% 0.108 329.7)
XYZxyz(6.2080, 3.8187, 9.0027)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582155 #215824
analogous
#3F2158 #582155 #582139
triadic
#582155 #555821 #215558
tetradic
#582155 #583F21 #215824 #213958
square
#582155 #583F21 #215824 #213958
split-complementary
#582155 #395821 #21583F
monochromatic
#160815 #2B102A #582155 #853280 #B142AB

Accessibility & contrast

On white

11.91
#582155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#582155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582155
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582155#FFFFFF#000000##FFFFFF
##5821551.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3257
Deuteranopia (green-blind)
#2F3A53
Tritanopia (blue-blind)
#5B2737
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #582155;
/* rgb */ color: rgb(88, 33, 85);
/* oklch */ color: oklch(35.1% 0.108 329.7);
Tailwind
colors: {
  custom: {
    50: '#896085',
    500: '#582155',
    950: '#000000',
  },
}
SCSS
$custom: #582155;
$custom-light: #896085;
$custom-dark: #000000;
JSON
{
  "hex": "#582155",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 303.273,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.10778,
    "h": 329.7
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#582155
secondary
#498C4C
accent
#D55A53
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #582155

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

Preview Lab → · Contrast checker → · Palette generator →

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