#582EA0#582EA0

#582EA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.173 H 294.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#582EA0
RGBrgb(88, 46, 160)
HSLhsl(262, 55%, 40%)
HSVhsv(262, 71%, 63%)
CMYKcmyk(45%, 71.2%, 0%, 37.3%)
CIE-LABlab(30.80, 44.46, -54.89)
CIE-LCHlch(30.80, 70.64, 309.01°)
OKLaboklab(42.31% 0.0724 -0.1571)
OKLCHoklch(42.31% 0.173 294.7)
XYZxyz(11.3449, 6.5665, 33.9206)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EA0 #76A02E
analogous
#2E3DA0 #582EA0 #912EA0
triadic
#582EA0 #A0582E #2EA058
tetradic
#582EA0 #A02E3D #76A02E #2EA091
square
#582EA0 #A02E3D #76A02E #2EA091
split-complementary
#582EA0 #A0912E #3DA02E
monochromatic
#241341 #3E2070 #582EA0 #7442C9 #9772D6

Accessibility & contrast

On white

9.08
#582EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EA0
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EA0#FFFFFF#000000##FFFFFF
##582EA01.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#444B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ea0;
/* rgb */ color: rgb(88, 46, 160);
/* oklch */ color: oklch(42.3% 0.173 294.7);
Tailwind
colors: {
  custom: {
    50: '#8e6abd',
    500: '#582ea0',
    950: '#000000',
  },
}
SCSS
$custom: #582ea0;
$custom-light: #8e6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#582ea0",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 262.105,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.17296,
    "h": 294.7
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#582EA0
secondary
#A0BE6C
accent
#DF49A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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