#581CA0#581CA0

#581CA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.192 H 297.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#581CA0
RGBrgb(88, 28, 160)
HSLhsl(267, 70%, 37%)
HSVhsv(267, 83%, 63%)
CMYKcmyk(45%, 82.5%, 0%, 37.3%)
CIE-LABlab(27.96, 52.56, -59.53)
CIE-LCHlch(27.96, 79.42, 311.44°)
OKLaboklab(40.32% 0.0877 -0.1706)
OKLCHoklch(40.32% 0.192 297.2)
XYZxyz(10.7832, 5.4431, 33.7334)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581CA0 #64A01C
analogous
#1C22A0 #581CA0 #9A1CA0
triadic
#581CA0 #A0581C #1CA058
tetradic
#581CA0 #A01C22 #64A01C #1CA09A
square
#581CA0 #A01C22 #64A01C #1CA09A
split-complementary
#581CA0 #A09A1C #22A01C
monochromatic
#1F0A38 #3B136C #581CA0 #7525D4 #9555E1

Accessibility & contrast

On white

10.05
#581CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#581CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581CA0
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581CA0#FFFFFF#000000##FFFFFF
##581CA01.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#45425F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #581ca0;
/* rgb */ color: rgb(88, 28, 160);
/* oklch */ color: oklch(40.3% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#8f61bd',
    500: '#581ca0',
    950: '#000000',
  },
}
SCSS
$custom: #581ca0;
$custom-light: #8f61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#581ca0",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 267.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.19183,
    "h": 297.2
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#581CA0
secondary
#91C453
accent
#ED3B9C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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