#582087#582087

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

Color values

HEX#582087
RGBrgb(88, 32, 135)
HSLhsl(273, 62%, 33%)
HSVhsv(273, 76%, 53%)
CMYKcmyk(34.8%, 76.3%, 0%, 47.1%)
CIE-LABlab(26.32, 44.73, -46.80)
CIE-LCHlch(26.32, 64.74, 313.71°)
OKLaboklab(38.49% 0.0915 -0.1332)
OKLCHoklch(38.49% 0.162 304.5)
XYZxyz(8.9132, 4.8570, 23.3849)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582087 #4F8720
analogous
#242087 #582087 #872083
triadic
#582087 #875820 #208758
tetradic
#582087 #872420 #4F8720 #208387
square
#582087 #872420 #4F8720 #208387
split-complementary
#582087 #838720 #208724
monochromatic
#180924 #381456 #582087 #782CB8 #974DD5

Accessibility & contrast

On white

10.65
#582087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#582087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582087
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582087#FFFFFF#000000##FFFFFF
##5820871.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#4F3952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582087;
/* rgb */ color: rgb(88, 32, 135);
/* oklch */ color: oklch(38.5% 0.162 304.5);
Tailwind
colors: {
  custom: {
    50: '#8c61ab',
    500: '#582087',
    950: '#000000',
  },
}
SCSS
$custom: #582087;
$custom-light: #8c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582087",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 272.621,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.16162,
    "h": 304.5
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#582087
secondary
#7DB84B
accent
#E5438D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #582087

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

Preview Lab → · Contrast checker → · Palette generator →

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