#582094#582094

#582094 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.175 H 300.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#582094
RGBrgb(88, 32, 148)
HSLhsl(269, 64%, 35%)
HSVhsv(269, 78%, 58%)
CMYKcmyk(40.5%, 78.4%, 0%, 42%)
CIE-LABlab(27.42, 47.96, -53.07)
CIE-LCHlch(27.42, 71.53, 312.11°)
OKLaboklab(39.61% 0.0883 -0.1517)
OKLCHoklch(39.61% 0.175 300.2)
XYZxyz(9.8850, 5.2458, 28.5030)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582094 #5C9420
analogous
#202294 #582094 #922094
triadic
#582094 #945820 #209458
tetradic
#582094 #942022 #5C9420 #209492
square
#582094 #942022 #5C9420 #209492
split-complementary
#582094 #949220 #229420
monochromatic
#1C0A2F #3A1562 #582094 #762BC6 #9554DA

Accessibility & contrast

On white

10.25
#582094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#582094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582094
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582094#FFFFFF#000000##FFFFFF
##5820941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#4A3F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582094;
/* rgb */ color: rgb(88, 32, 148);
/* oklch */ color: oklch(39.6% 0.175 300.2);
Tailwind
colors: {
  custom: {
    50: '#8d62b4',
    500: '#582094',
    950: '#000000',
  },
}
SCSS
$custom: #582094;
$custom-light: #8d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582094",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 268.966,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.17549,
    "h": 300.2
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#582094
secondary
#8ABE52
accent
#E74097
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582094

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

Preview Lab → · Contrast checker → · Palette generator →

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