#582691#582691

#582691 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.165 H 300.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#582691
RGBrgb(88, 38, 145)
HSLhsl(268, 58%, 36%)
HSVhsv(268, 74%, 57%)
CMYKcmyk(39.3%, 73.8%, 0%, 43.1%)
CIE-LABlab(28.13, 44.47, -50.07)
CIE-LCHlch(28.13, 66.97, 311.61°)
OKLaboklab(40.03% 0.0834 -0.1429)
OKLCHoklch(40.03% 0.165 300.3)
XYZxyz(9.8272, 5.5052, 27.3274)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582691 #5F9126
analogous
#262A91 #582691 #8D2691
triadic
#582691 #915826 #269158
tetradic
#582691 #91262A #5F9126 #26918D
square
#582691 #91262A #5F9126 #26918D
split-complementary
#582691 #918D26 #2A9126
monochromatic
#1D0D30 #3B1961 #582691 #7533C1 #955DD5

Accessibility & contrast

On white

10.00
#582691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#582691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582691
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582691#FFFFFF#000000##FFFFFF
##5826911.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#4B4159
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582691;
/* rgb */ color: rgb(88, 38, 145);
/* oklch */ color: oklch(40.0% 0.165 300.3);
Tailwind
colors: {
  custom: {
    50: '#8d65b2',
    500: '#582691',
    950: '#000000',
  },
}
SCSS
$custom: #582691;
$custom-light: #8d65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582691",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 268.037,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.16544,
    "h": 300.3
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#582691
secondary
#8DBA59
accent
#E24699
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582691

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

Preview Lab → · Contrast checker → · Palette generator →

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