#582D94#582D94

#582D94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.160 H 298.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#582D94
RGBrgb(88, 45, 148)
HSLhsl(265, 53%, 38%)
HSVhsv(265, 70%, 58%)
CMYKcmyk(40.5%, 69.6%, 0%, 42%)
CIE-LABlab(29.64, 41.72, -49.47)
CIE-LCHlch(29.64, 64.71, 310.15°)
OKLaboklab(41.18% 0.0755 -0.1411)
OKLCHoklch(41.18% 0.16 298.1)
XYZxyz(10.3068, 6.0894, 28.6436)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D94 #69942D
analogous
#2D3594 #582D94 #8C2D94
triadic
#582D94 #94582D #2D9458
tetradic
#582D94 #942D35 #69942D #2D948C
square
#582D94 #942D35 #69942D #2D948C
split-complementary
#582D94 #948C2D #35942D
monochromatic
#201036 #3C1F65 #582D94 #743BC3 #956AD2

Accessibility & contrast

On white

9.47
#582D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#582D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D94
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D94#FFFFFF#000000##FFFFFF
##582D941.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#4A465D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582d94;
/* rgb */ color: rgb(88, 45, 148);
/* oklch */ color: oklch(41.2% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#8c69b4',
    500: '#582d94',
    950: '#000000',
  },
}
SCSS
$custom: #582d94;
$custom-light: #8c69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582d94",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 265.049,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.16006,
    "h": 298.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#582D94
secondary
#95B864
accent
#DD4BA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582D94

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

Preview Lab → · Contrast checker → · Palette generator →

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