#581C95#581C95

#581C95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.181 H 300.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#581C95
RGBrgb(88, 28, 149)
HSLhsl(270, 68%, 35%)
HSVhsv(270, 81%, 58%)
CMYKcmyk(40.9%, 81.2%, 0%, 41.6%)
CIE-LABlab(26.95, 49.84, -54.47)
CIE-LCHlch(26.95, 73.83, 312.46°)
OKLaboklab(39.3% 0.0913 -0.1557)
OKLCHoklch(39.3% 0.181 300.4)
XYZxyz(9.8632, 5.0750, 28.8879)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C95 #59951C
analogous
#1C1C95 #581C95 #951C95
triadic
#581C95 #95581C #1C9558
tetradic
#581C95 #951C1C #59951C #1C9595
square
#581C95 #951C1C #59951C #1C9595
split-complementary
#581C95 #95951C #1C951C
monochromatic
#1B092E #3A1261 #581C95 #7626C9 #954EDE

Accessibility & contrast

On white

10.42
#581C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#581C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C95#FFFFFF#000000##FFFFFF
##581C951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#4A3E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581c95;
/* rgb */ color: rgb(88, 28, 149);
/* oklch */ color: oklch(39.3% 0.181 300.4);
Tailwind
colors: {
  custom: {
    50: '#8e60b5',
    500: '#581c95',
    950: '#000000',
  },
}
SCSS
$custom: #581c95;
$custom-light: #8e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#581c95",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 269.752,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.18051,
    "h": 300.4
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#581C95
secondary
#87C04D
accent
#EB3D95
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581C95

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

Preview Lab → · Contrast checker → · Palette generator →

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