#582F99#582F99

#582F99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.163 H 296.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#582F99
RGBrgb(88, 47, 153)
HSLhsl(263, 53%, 39%)
HSVhsv(263, 69%, 60%)
CMYKcmyk(42.5%, 69.3%, 0%, 40%)
CIE-LABlab(30.42, 42.02, -51.26)
CIE-LCHlch(30.42, 66.28, 309.34°)
OKLaboklab(41.86% 0.0726 -0.1464)
OKLCHoklch(41.86% 0.163 296.4)
XYZxyz(10.7893, 6.4074, 30.7991)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582F99 #70992F
analogous
#2F3B99 #582F99 #8D2F99
triadic
#582F99 #99582F #2F9958
tetradic
#582F99 #992F3B #70992F #2F998D
square
#582F99 #992F3B #70992F #2F998D
split-complementary
#582F99 #998D2F #3B992F
monochromatic
#22123B #3D216A #582F99 #7441C5 #966FD3

Accessibility & contrast

On white

9.20
#582F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#582F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582F99
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582F99#FFFFFF#000000##FFFFFF
##582F991.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#474960
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582f99;
/* rgb */ color: rgb(88, 47, 153);
/* oklch */ color: oklch(41.9% 0.163 296.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bb8',
    500: '#582f99',
    950: '#000000',
  },
}
SCSS
$custom: #582f99;
$custom-light: #8d6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#582f99",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 263.208,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.16341,
    "h": 296.4
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#582F99
secondary
#9BBA69
accent
#DC4BA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #582F99

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

Preview Lab → · Contrast checker → · Palette generator →

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