#582287#582287

#582287 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.159 H 304.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#582287
RGBrgb(88, 34, 135)
HSLhsl(272, 60%, 33%)
HSVhsv(272, 75%, 53%)
CMYKcmyk(34.8%, 74.8%, 0%, 47.1%)
CIE-LABlab(26.64, 43.82, -46.28)
CIE-LCHlch(26.64, 63.74, 313.44°)
OKLaboklab(38.72% 0.0895 -0.1317)
OKLCHoklch(38.72% 0.159 304.2)
XYZxyz(8.9687, 4.9681, 23.4034)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582287 #518722
analogous
#252287 #582287 #872283
triadic
#582287 #875822 #228758
tetradic
#582287 #872522 #518722 #228387
square
#582287 #872522 #518722 #228387
split-complementary
#582287 #838722 #228725
monochromatic
#180925 #381656 #582287 #782EB8 #9650D3

Accessibility & contrast

On white

10.53
#582287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#582287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582287
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582287#FFFFFF#000000##FFFFFF
##5822871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#4F3A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582287;
/* rgb */ color: rgb(88, 34, 135);
/* oklch */ color: oklch(38.7% 0.159 304.2);
Tailwind
colors: {
  custom: {
    50: '#8c62ab',
    500: '#582287',
    950: '#000000',
  },
}
SCSS
$custom: #582287;
$custom-light: #8c62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582287",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 272.079,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.15923,
    "h": 304.2
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#582287
secondary
#7FB74E
accent
#E3458E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582287

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

Preview Lab → · Contrast checker → · Palette generator →

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