#582875#582875

#582875 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.131 H 310.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#582875
RGBrgb(88, 40, 117)
HSLhsl(277, 49%, 31%)
HSVhsv(277, 66%, 46%)
CMYKcmyk(24.8%, 65.8%, 0%, 54.1%)
CIE-LABlab(26.38, 36.39, -35.35)
CIE-LCHlch(26.38, 50.73, 315.83°)
OKLaboklab(38.11% 0.0847 -0.0996)
OKLCHoklch(38.11% 0.131 310.4)
XYZxyz(7.9936, 4.8768, 17.3464)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582875 #457528
analogous
#312875 #582875 #75286B
triadic
#582875 #755828 #287558
tetradic
#582875 #753128 #457528 #286B75
square
#582875 #753128 #457528 #286B75
split-complementary
#582875 #6B7528 #287531
monochromatic
#13091A #361847 #582875 #7A38A3 #9A53C4

Accessibility & contrast

On white

10.63
#582875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582875
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582875#FFFFFF#000000##FFFFFF
##5828751.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#54374A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582875;
/* rgb */ color: rgb(88, 40, 117);
/* oklch */ color: oklch(38.1% 0.131 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a659d',
    500: '#582875',
    950: '#000000',
  },
}
SCSS
$custom: #582875;
$custom-light: #8a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#582875",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 277.403,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.13076,
    "h": 310.4
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#582875
secondary
#72A752
accent
#D94F83
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582875

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

Preview Lab → · Contrast checker → · Palette generator →

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