#582995#582995

#582995 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.166 H 298.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#582995
RGBrgb(88, 41, 149)
HSLhsl(266, 57%, 37%)
HSVhsv(266, 72%, 58%)
CMYKcmyk(40.9%, 72.5%, 0%, 41.6%)
CIE-LABlab(28.98, 44.04, -51.15)
CIE-LCHlch(28.98, 67.50, 310.73°)
OKLaboklab(40.73% 0.0795 -0.1461)
OKLCHoklch(40.73% 0.166 298.6)
XYZxyz(10.2409, 5.8304, 29.0138)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582995 #669529
analogous
#293095 #582995 #8E2995
triadic
#582995 #955829 #299558
tetradic
#582995 #952930 #669529 #29958E
square
#582995 #952930 #669529 #29958E
split-complementary
#582995 #958E29 #309529
monochromatic
#1F0F35 #3C1C65 #582995 #7436C5 #9564D4

Accessibility & contrast

On white

9.69
#582995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582995
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582995#FFFFFF#000000##FFFFFF
##5829951.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#49445C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582995;
/* rgb */ color: rgb(88, 41, 149);
/* oklch */ color: oklch(40.7% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#8d67b5',
    500: '#582995',
    950: '#000000',
  },
}
SCSS
$custom: #582995;
$custom-light: #8d67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582995",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 266.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.16631,
    "h": 298.6
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#582995
secondary
#93BA60
accent
#E0489E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582995

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

Preview Lab → · Contrast checker → · Palette generator →

#582995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva