#582189#582189

#582189 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.163 H 303.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#582189
RGBrgb(88, 33, 137)
HSLhsl(272, 61%, 33%)
HSVhsv(272, 76%, 54%)
CMYKcmyk(35.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(26.65, 44.78, -47.53)
CIE-LCHlch(26.65, 65.30, 313.29°)
OKLaboklab(38.77% 0.0901 -0.1354)
OKLCHoklch(38.77% 0.163 303.6)
XYZxyz(9.0827, 4.9686, 24.1426)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582189 #528921
analogous
#242189 #582189 #892186
triadic
#582189 #895821 #218958
tetradic
#582189 #892421 #528921 #218689
square
#582189 #892421 #528921 #218689
split-complementary
#582189 #868921 #218924
monochromatic
#190926 #381558 #582189 #782DBA #9650D5

Accessibility & contrast

On white

10.53
#582189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#582189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582189
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582189#FFFFFF#000000##FFFFFF
##5821891.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#4E3B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582189;
/* rgb */ color: rgb(88, 33, 137);
/* oklch */ color: oklch(38.8% 0.163 303.6);
Tailwind
colors: {
  custom: {
    50: '#8c62ac',
    500: '#582189',
    950: '#000000',
  },
}
SCSS
$custom: #582189;
$custom-light: #8c62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582189",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 271.731,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38772,
    "c": 0.16259,
    "h": 303.6
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#582189
secondary
#80B84E
accent
#E4448F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #582189

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

Preview Lab → · Contrast checker → · Palette generator →

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