#582792#582792

#582792 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.165 H 299.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#582792
RGBrgb(88, 39, 146)
HSLhsl(267, 58%, 36%)
HSVhsv(267, 73%, 57%)
CMYKcmyk(39.7%, 73.3%, 0%, 42.7%)
CIE-LABlab(28.38, 44.24, -50.28)
CIE-LCHlch(28.38, 66.97, 311.35°)
OKLaboklab(40.23% 0.0822 -0.1435)
OKLCHoklch(40.23% 0.165 299.8)
XYZxyz(9.9370, 5.6010, 27.7461)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582792 #619227
analogous
#272B92 #582792 #8E2792
triadic
#582792 #925827 #279258
tetradic
#582792 #92272B #619227 #27928E
square
#582792 #92272B #619227 #27928E
split-complementary
#582792 #928E27 #2B9227
monochromatic
#1E0D31 #3B1A62 #582792 #7534C2 #955FD4

Accessibility & contrast

On white

9.90
#582792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#582792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582792
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582792#FFFFFF#000000##FFFFFF
##5827921.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#4B415A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582792;
/* rgb */ color: rgb(88, 39, 146);
/* oklch */ color: oklch(40.2% 0.165 299.8);
Tailwind
colors: {
  custom: {
    50: '#8d66b3',
    500: '#582792',
    950: '#000000',
  },
}
SCSS
$custom: #582792;
$custom-light: #8d66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582792",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 267.477,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.16535,
    "h": 299.8
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#582792
secondary
#8EBA5B
accent
#E1479A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582792

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

Preview Lab → · Contrast checker → · Palette generator →

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