#581685#581685

#581685 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.170 H 306.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#581685
RGBrgb(88, 22, 133)
HSLhsl(276, 72%, 30%)
HSVhsv(276, 83%, 52%)
CMYKcmyk(33.8%, 83.5%, 0%, 47.8%)
CIE-LABlab(24.77, 48.24, -48.07)
CIE-LCHlch(24.77, 68.11, 315.10°)
OKLaboklab(37.35% 0.1008 -0.1369)
OKLCHoklch(37.35% 0.17 306.4)
XYZxyz(8.5441, 4.3421, 22.5737)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581685 #438516
analogous
#211685 #581685 #85167A
triadic
#581685 #855816 #168558
tetradic
#581685 #852116 #438516 #167A85
square
#581685 #852116 #438516 #167A85
split-complementary
#581685 #7A8516 #168521
monochromatic
#13051C #350D50 #581685 #7B1FBA #9A37DE

Accessibility & contrast

On white

11.24
#581685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#581685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581685
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581685#FFFFFF#000000##FFFFFF
##5816851.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#50344F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581685;
/* rgb */ color: rgb(88, 22, 133);
/* oklch */ color: oklch(37.4% 0.170 306.4);
Tailwind
colors: {
  custom: {
    50: '#8c5da9',
    500: '#581685',
    950: '#000000',
  },
}
SCSS
$custom: #581685;
$custom-light: #8c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#581685",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 275.676,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.17001,
    "h": 306.4
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#581685
secondary
#70B93E
accent
#EE3983
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581685

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

Preview Lab → · Contrast checker → · Palette generator →

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