#582092#582092

#582092 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.173 H 300.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#582092
RGBrgb(88, 32, 146)
HSLhsl(269, 64%, 35%)
HSVhsv(269, 78%, 57%)
CMYKcmyk(39.7%, 78.1%, 0%, 42.7%)
CIE-LABlab(27.25, 47.46, -52.12)
CIE-LCHlch(27.25, 70.49, 312.32°)
OKLaboklab(39.43% 0.0888 -0.1489)
OKLCHoklch(39.43% 0.173 300.8)
XYZxyz(9.7280, 5.1830, 27.6765)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582092 #5A9220
analogous
#202192 #582092 #912092
triadic
#582092 #925820 #209258
tetradic
#582092 #922021 #5A9220 #209291
square
#582092 #922021 #5A9220 #209291
split-complementary
#582092 #929120 #219220
monochromatic
#1B0A2E #3A1560 #582092 #762BC4 #9553D9

Accessibility & contrast

On white

10.31
#582092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582092
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582092#FFFFFF#000000##FFFFFF
##5820921.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#4B3E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582092;
/* rgb */ color: rgb(88, 32, 146);
/* oklch */ color: oklch(39.4% 0.173 300.8);
Tailwind
colors: {
  custom: {
    50: '#8d62b3',
    500: '#582092',
    950: '#000000',
  },
}
SCSS
$custom: #582092;
$custom-light: #8d62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582092",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 269.474,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.17335,
    "h": 300.8
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#582092
secondary
#88BD51
accent
#E74195
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582092

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

Preview Lab → · Contrast checker → · Palette generator →

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