#582255#582255

#582255 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.106 H 329.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#582255
RGBrgb(88, 34, 85)
HSLhsl(303, 44%, 24%)
HSVhsv(303, 61%, 35%)
CMYKcmyk(0%, 61.4%, 3.4%, 65.5%)
CIE-LABlab(23.25, 32.47, -19.48)
CIE-LCHlch(23.25, 37.86, 329.04°)
OKLaboklab(35.2% 0.0916 -0.0534)
OKLCHoklch(35.2% 0.106 329.7)
XYZxyz(6.2362, 3.8750, 9.0121)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582255 #225825
analogous
#402258 #582255 #58223A
triadic
#582255 #555822 #225558
tetradic
#582255 #584022 #225825 #223A58
square
#582255 #584022 #225825 #223A58
split-complementary
#582255 #3A5822 #225840
monochromatic
#160915 #2C112A #582255 #843380 #B044AA

Accessibility & contrast

On white

11.83
#582255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#582255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582255
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582255#FFFFFF#000000##FFFFFF
##5822551.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582255;
/* rgb */ color: rgb(88, 34, 85);
/* oklch */ color: oklch(35.2% 0.106 329.7);
Tailwind
colors: {
  custom: {
    50: '#896185',
    500: '#582255',
    950: '#000000',
  },
}
SCSS
$custom: #582255;
$custom-light: #896185;
$custom-dark: #000000;
JSON
{
  "hex": "#582255",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 303.333,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.10606,
    "h": 329.7
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#582255
secondary
#4A8C4D
accent
#D45B54
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #582255

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

Preview Lab → · Contrast checker → · Palette generator →

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