#582E90#582E90

#582E90 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.154 H 299.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#582E90
RGBrgb(88, 46, 144)
HSLhsl(266, 52%, 37%)
HSVhsv(266, 68%, 56%)
CMYKcmyk(38.9%, 68.1%, 0%, 43.5%)
CIE-LABlab(29.52, 40.11, -47.20)
CIE-LCHlch(29.52, 61.94, 310.36°)
OKLaboklab(40.99% 0.0749 -0.1345)
OKLCHoklch(40.99% 0.154 299.1)
XYZxyz(10.0343, 6.0422, 27.0178)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E90 #66902E
analogous
#2E3590 #582E90 #892E90
triadic
#582E90 #90582E #2E9058
tetradic
#582E90 #902E35 #66902E #2E9089
square
#582E90 #902E35 #66902E #2E9089
split-complementary
#582E90 #90892E #35902E
monochromatic
#1F1033 #3C1F62 #582E90 #743DBE #9569CF

Accessibility & contrast

On white

9.51
#582E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#582E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E90
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E90#FFFFFF#000000##FFFFFF
##582E901.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#4B455B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582e90;
/* rgb */ color: rgb(88, 46, 144);
/* oklch */ color: oklch(41.0% 0.154 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ab1',
    500: '#582e90',
    950: '#000000',
  },
}
SCSS
$custom: #582e90;
$custom-light: #8c6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#582e90",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 265.714,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.15395,
    "h": 299.1
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#582E90
secondary
#93B664
accent
#DB4D9E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #582E90

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

Preview Lab → · Contrast checker → · Palette generator →

#582E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva