#582896#582896

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

Color values

HEX#582896
RGBrgb(88, 40, 150)
HSLhsl(266, 58%, 37%)
HSVhsv(266, 73%, 59%)
CMYKcmyk(41.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(28.89, 44.80, -51.91)
CIE-LCHlch(28.89, 68.57, 310.79°)
OKLaboklab(40.69% 0.0803 -0.1483)
OKLCHoklch(40.69% 0.169 298.4)
XYZxyz(10.2869, 5.7941, 29.4247)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582896 #669628
analogous
#282F96 #582896 #8F2896
triadic
#582896 #965828 #289658
tetradic
#582896 #96282F #669628 #28968F
square
#582896 #96282F #669628 #28968F
split-complementary
#582896 #968F28 #2F9628
monochromatic
#1F0E35 #3C1B66 #582896 #7435C6 #9563D5

Accessibility & contrast

On white

9.73
#582896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#582896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582896
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582896#FFFFFF#000000##FFFFFF
##5828961.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582896;
/* rgb */ color: rgb(88, 40, 150);
/* oklch */ color: oklch(40.7% 0.169 298.4);
Tailwind
colors: {
  custom: {
    50: '#8d66b6',
    500: '#582896',
    950: '#000000',
  },
}
SCSS
$custom: #582896;
$custom-light: #8d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582896",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 266.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.16867,
    "h": 298.4
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#582896
secondary
#93BB5F
accent
#E1479E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582896

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

Preview Lab → · Contrast checker → · Palette generator →

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