#582296#582296

#582296 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.175 H 299.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#582296
RGBrgb(88, 34, 150)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 59%)
CMYKcmyk(41.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(27.90, 47.60, -53.52)
CIE-LCHlch(27.90, 71.63, 311.65°)
OKLaboklab(40% 0.086 -0.153)
OKLCHoklch(40% 0.176 299.3)
XYZxyz(10.1002, 5.4206, 29.3624)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582296 #609622
analogous
#222696 #582296 #922296
triadic
#582296 #965822 #229658
tetradic
#582296 #962226 #609622 #229692
square
#582296 #962226 #609622 #229692
split-complementary
#582296 #969222 #269622
monochromatic
#1D0B32 #3B1764 #582296 #752DC8 #9559D9

Accessibility & contrast

On white

10.08
#582296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582296
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582296#FFFFFF#000000##FFFFFF
##5822961.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#49415B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582296;
/* rgb */ color: rgb(88, 34, 150);
/* oklch */ color: oklch(40.0% 0.175 299.3);
Tailwind
colors: {
  custom: {
    50: '#8d63b6',
    500: '#582296',
    950: '#000000',
  },
}
SCSS
$custom: #582296;
$custom-light: #8d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582296",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 267.931,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.1755,
    "h": 299.3
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#582296
secondary
#8DBE56
accent
#E6429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582296

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

Preview Lab → · Contrast checker → · Palette generator →

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