#582992#582992

#582992 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.163 H 299.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#582992
RGBrgb(88, 41, 146)
HSLhsl(267, 56%, 37%)
HSVhsv(267, 72%, 57%)
CMYKcmyk(39.7%, 71.9%, 0%, 42.7%)
CIE-LABlab(28.74, 43.25, -49.70)
CIE-LCHlch(28.74, 65.88, 311.03°)
OKLaboklab(40.48% 0.0801 -0.1418)
OKLCHoklch(40.48% 0.163 299.5)
XYZxyz(10.0044, 5.7358, 27.7686)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582992 #639229
analogous
#292F92 #582992 #8D2992
triadic
#582992 #925829 #299258
tetradic
#582992 #92292F #639229 #29928D
square
#582992 #92292F #639229 #29928D
split-complementary
#582992 #928D29 #2F9229
monochromatic
#1E0E32 #3B1C62 #582992 #7536C2 #9562D3

Accessibility & contrast

On white

9.78
#582992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582992
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582992#FFFFFF#000000##FFFFFF
##5829921.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#4B435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582992;
/* rgb */ color: rgb(88, 41, 146);
/* oklch */ color: oklch(40.5% 0.163 299.5);
Tailwind
colors: {
  custom: {
    50: '#8c67b3',
    500: '#582992',
    950: '#000000',
  },
}
SCSS
$custom: #582992;
$custom-light: #8c67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582992",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 266.857,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.16287,
    "h": 299.5
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#582992
secondary
#90B95E
accent
#DF489C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582992

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

Preview Lab → · Contrast checker → · Palette generator →

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