#582885#582885

#582885 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.149 H 303.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#582885
RGBrgb(88, 40, 133)
HSLhsl(271, 54%, 34%)
HSVhsv(271, 70%, 52%)
CMYKcmyk(33.8%, 69.9%, 0%, 47.8%)
CIE-LABlab(27.53, 40.39, -43.59)
CIE-LCHlch(27.53, 59.42, 312.82°)
OKLaboklab(39.31% 0.0833 -0.1238)
OKLCHoklch(39.31% 0.149 303.9)
XYZxyz(9.0160, 5.2858, 22.7310)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582885 #558528
analogous
#2A2885 #582885 #852884
triadic
#582885 #855828 #288558
tetradic
#582885 #852A28 #558528 #288485
square
#582885 #852A28 #558528 #288485
split-complementary
#582885 #848528 #28852A
monochromatic
#1A0C27 #391A56 #582885 #7736B4 #965ACD

Accessibility & contrast

On white

10.21
#582885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#582885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582885
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582885#FFFFFF#000000##FFFFFF
##5828851.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#024183
Tritanopia (blue-blind)
#4F3D53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582885;
/* rgb */ color: rgb(88, 40, 133);
/* oklch */ color: oklch(39.3% 0.149 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b66a9',
    500: '#582885',
    950: '#000000',
  },
}
SCSS
$custom: #582885;
$custom-light: #8b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582885",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 270.968,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.14923,
    "h": 303.9
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#582885
secondary
#83B356
accent
#DD4B92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582885

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

Preview Lab → · Contrast checker → · Palette generator →

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