#582A90#582A90

#582A90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.159 H 299.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#582A90
RGBrgb(88, 42, 144)
HSLhsl(267, 55%, 36%)
HSVhsv(267, 71%, 56%)
CMYKcmyk(38.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(28.76, 42.22, -48.43)
CIE-LCHlch(28.76, 64.25, 311.08°)
OKLaboklab(40.45% 0.0794 -0.1381)
OKLCHoklch(40.45% 0.159 299.9)
XYZxyz(9.8853, 5.7442, 26.9681)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A90 #62902A
analogous
#2A2F90 #582A90 #8B2A90
triadic
#582A90 #90582A #2A9058
tetradic
#582A90 #902A2F #62902A #2A908B
square
#582A90 #902A2F #62902A #2A908B
split-complementary
#582A90 #908B2A #2F902A
monochromatic
#1E0E31 #3B1C61 #582A90 #7538BF #9563D1

Accessibility & contrast

On white

9.77
#582A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A90
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A90#FFFFFF#000000##FFFFFF
##582A901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#4B425A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582a90;
/* rgb */ color: rgb(88, 42, 144);
/* oklch */ color: oklch(40.4% 0.159 299.9);
Tailwind
colors: {
  custom: {
    50: '#8c67b1',
    500: '#582a90',
    950: '#000000',
  },
}
SCSS
$custom: #582a90;
$custom-light: #8c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#582a90",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 267.059,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.15929,
    "h": 299.9
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#582A90
secondary
#8FB75E
accent
#DE4A9B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582A90

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

Preview Lab → · Contrast checker → · Palette generator →

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