#582894#582894

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

Color values

HEX#582894
RGBrgb(88, 40, 148)
HSLhsl(267, 57%, 37%)
HSVhsv(267, 73%, 58%)
CMYKcmyk(40.5%, 73%, 0%, 42%)
CIE-LABlab(28.72, 44.27, -50.95)
CIE-LCHlch(28.72, 67.50, 310.99°)
OKLaboklab(40.52% 0.0807 -0.1455)
OKLCHoklch(40.52% 0.166 299)
XYZxyz(10.1272, 5.7303, 28.5837)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582894 #649428
analogous
#282E94 #582894 #8E2894
triadic
#582894 #945828 #289458
tetradic
#582894 #94282E #649428 #28948E
square
#582894 #94282E #649428 #28948E
split-complementary
#582894 #948E28 #2E9428
monochromatic
#1F0E34 #3B1B64 #582894 #7535C4 #9562D5

Accessibility & contrast

On white

9.79
#582894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582894
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582894#FFFFFF#000000##FFFFFF
##5828941.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#4A435B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582894;
/* rgb */ color: rgb(88, 40, 148);
/* oklch */ color: oklch(40.5% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#8d66b4',
    500: '#582894',
    950: '#000000',
  },
}
SCSS
$custom: #582894;
$custom-light: #8d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582894",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 266.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.1664,
    "h": 299
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#582894
secondary
#91BA5E
accent
#E1479C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582894

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

Preview Lab → · Contrast checker → · Palette generator →

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