#582C8E#582C8E

#582C8E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.154 H 300.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#582C8E
RGBrgb(88, 44, 142)
HSLhsl(267, 53%, 36%)
HSVhsv(267, 69%, 56%)
CMYKcmyk(38%, 69%, 0%, 44.3%)
CIE-LABlab(28.98, 40.64, -46.84)
CIE-LCHlch(28.98, 62.02, 310.95°)
OKLaboklab(40.56% 0.0775 -0.1334)
OKLCHoklch(40.56% 0.154 300.1)
XYZxyz(9.8065, 5.8290, 26.1944)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C8E #628E2C
analogous
#2C318E #582C8E #892C8E
triadic
#582C8E #8E582C #2C8E58
tetradic
#582C8E #8E2C31 #628E2C #2C8E89
square
#582C8E #8E2C31 #628E2C #2C8E89
split-complementary
#582C8E #8E892C #318E2C
monochromatic
#1E0F31 #3B1E5F #582C8E #753ABD #9565CF

Accessibility & contrast

On white

9.70
#582C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C8E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C8E#FFFFFF#000000##FFFFFF
##582C8E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#4C4359
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582c8e;
/* rgb */ color: rgb(88, 44, 142);
/* oklch */ color: oklch(40.6% 0.154 300.1);
Tailwind
colors: {
  custom: {
    50: '#8c68b0',
    500: '#582c8e',
    950: '#000000',
  },
}
SCSS
$custom: #582c8e;
$custom-light: #8c68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#582c8e",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 266.939,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.15429,
    "h": 300.1
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#582C8E
secondary
#8FB660
accent
#DC4C9B
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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