#582286#582286

#582286 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 304.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#582286
RGBrgb(88, 34, 134)
HSLhsl(272, 60%, 33%)
HSVhsv(272, 75%, 53%)
CMYKcmyk(34.3%, 74.6%, 0%, 47.5%)
CIE-LABlab(26.56, 43.58, -45.79)
CIE-LCHlch(26.56, 63.21, 313.58°)
OKLaboklab(38.64% 0.0897 -0.1303)
OKLCHoklch(38.64% 0.158 304.5)
XYZxyz(8.8986, 4.9400, 23.0344)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582286 #508622
analogous
#262286 #582286 #862282
triadic
#582286 #865822 #228658
tetradic
#582286 #862622 #508622 #228286
square
#582286 #862622 #508622 #228286
split-complementary
#582286 #828622 #228626
monochromatic
#180924 #381655 #582286 #782EB7 #9650D3

Accessibility & contrast

On white

10.56
#582286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582286
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582286#FFFFFF#000000##FFFFFF
##5822861.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582286;
/* rgb */ color: rgb(88, 34, 134);
/* oklch */ color: oklch(38.6% 0.158 304.5);
Tailwind
colors: {
  custom: {
    50: '#8c62aa',
    500: '#582286',
    950: '#000000',
  },
}
SCSS
$custom: #582286;
$custom-light: #8c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582286",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 272.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.15814,
    "h": 304.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582286

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

Preview Lab → · Contrast checker → · Palette generator →

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