#582B95#582B95

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

Color values

HEX#582B95
RGBrgb(88, 43, 149)
HSLhsl(265, 55%, 38%)
HSVhsv(265, 71%, 58%)
CMYKcmyk(40.9%, 71.1%, 0%, 41.6%)
CIE-LABlab(29.34, 43.03, -50.56)
CIE-LCHlch(29.34, 66.39, 310.40°)
OKLaboklab(40.99% 0.0775 -0.1443)
OKLCHoklch(40.99% 0.164 298.2)
XYZxyz(10.3118, 5.9722, 29.0374)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B95 #68952B
analogous
#2B3395 #582B95 #8D2B95
triadic
#582B95 #95582B #2B9558
tetradic
#582B95 #952B33 #68952B #2B958D
square
#582B95 #952B33 #68952B #2B958D
split-complementary
#582B95 #958D2B #33952B
monochromatic
#201036 #3C1D66 #582B95 #7439C4 #9567D3

Accessibility & contrast

On white

9.57
#582B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#582B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B95
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B95#FFFFFF#000000##FFFFFF
##582B951.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#49455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582b95;
/* rgb */ color: rgb(88, 43, 149);
/* oklch */ color: oklch(41.0% 0.164 298.2);
Tailwind
colors: {
  custom: {
    50: '#8d68b5',
    500: '#582b95',
    950: '#000000',
  },
}
SCSS
$custom: #582b95;
$custom-light: #8d68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582b95",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 265.472,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.16382,
    "h": 298.2
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#582B95
secondary
#94BA62
accent
#DF499F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582B95

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

Preview Lab → · Contrast checker → · Palette generator →

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