#581985#581985

#581985 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.167 H 306.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#581985
RGBrgb(88, 25, 133)
HSLhsl(275, 68%, 31%)
HSVhsv(275, 81%, 52%)
CMYKcmyk(33.8%, 81.2%, 0%, 47.8%)
CIE-LABlab(25.15, 47.15, -47.46)
CIE-LCHlch(25.15, 66.90, 314.81°)
OKLaboklab(37.62% 0.0984 -0.1351)
OKLCHoklch(37.62% 0.167 306.1)
XYZxyz(8.6048, 4.4635, 22.5940)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581985 #468519
analogous
#221985 #581985 #85197C
triadic
#581985 #855819 #198558
tetradic
#581985 #852219 #468519 #197C85
square
#581985 #852219 #468519 #197C85
split-complementary
#581985 #7C8519 #198522
monochromatic
#14061E #360F51 #581985 #7A23B9 #993EDB

Accessibility & contrast

On white

11.10
#581985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581985
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581985#FFFFFF#000000##FFFFFF
##5819851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#50354F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581985;
/* rgb */ color: rgb(88, 25, 133);
/* oklch */ color: oklch(37.6% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#581985',
    950: '#000000',
  },
}
SCSS
$custom: #581985;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#581985",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 275,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37617,
    "c": 0.16714,
    "h": 306.1
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#581985
secondary
#73B941
accent
#EB3D85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581985

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

Preview Lab → · Contrast checker → · Palette generator →

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