#581C85#581C85

#581C85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.164 H 305.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#581C85
RGBrgb(88, 28, 133)
HSLhsl(274, 65%, 32%)
HSVhsv(274, 79%, 52%)
CMYKcmyk(33.8%, 78.9%, 0%, 47.8%)
CIE-LABlab(25.56, 45.96, -46.79)
CIE-LCHlch(25.56, 65.59, 314.49°)
OKLaboklab(37.91% 0.0957 -0.1332)
OKLCHoklch(37.91% 0.164 305.7)
XYZxyz(8.6725, 4.5987, 22.6165)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C85 #49851C
analogous
#241C85 #581C85 #851C7E
triadic
#581C85 #85581C #1C8558
tetradic
#581C85 #85241C #49851C #1C7E85
square
#581C85 #85241C #49851C #1C7E85
split-complementary
#581C85 #7E851C #1C8524
monochromatic
#150720 #371152 #581C85 #7927B8 #9844D8

Accessibility & contrast

On white

10.94
#581C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#581C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C85
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C85#FFFFFF#000000##FFFFFF
##581C851.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#503750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581c85;
/* rgb */ color: rgb(88, 28, 133);
/* oklch */ color: oklch(37.9% 0.164 305.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fa9',
    500: '#581c85',
    950: '#000000',
  },
}
SCSS
$custom: #581c85;
$custom-light: #8c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#581c85",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 274.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37905,
    "c": 0.16402,
    "h": 305.7
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#581C85
secondary
#76B845
accent
#E84088
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581C85

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

Preview Lab → · Contrast checker → · Palette generator →

#581C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva