#581BA0#581BA0

#581BA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.193 H 297.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#581BA0
RGBrgb(88, 27, 160)
HSLhsl(268, 71%, 37%)
HSVhsv(268, 83%, 63%)
CMYKcmyk(45%, 83.1%, 0%, 37.3%)
CIE-LABlab(27.84, 52.93, -59.74)
CIE-LCHlch(27.84, 79.82, 311.54°)
OKLaboklab(40.23% 0.0884 -0.1712)
OKLCHoklch(40.23% 0.193 297.3)
XYZxyz(10.7599, 5.3964, 33.7256)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581BA0 #63A01B
analogous
#1B20A0 #581BA0 #9B1BA0
triadic
#581BA0 #A0581B #1BA058
tetradic
#581BA0 #A01B20 #63A01B #1BA09B
square
#581BA0 #A01B20 #63A01B #1BA09B
split-complementary
#581BA0 #A09B1B #20A01B
monochromatic
#1E0937 #3B126C #581BA0 #7524D4 #9553E2

Accessibility & contrast

On white

10.10
#581BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#581BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581BA0
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581BA0#FFFFFF#000000##FFFFFF
##581BA01.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.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: #581ba0;
/* rgb */ color: rgb(88, 27, 160);
/* oklch */ color: oklch(40.2% 0.193 297.3);
Tailwind
colors: {
  custom: {
    50: '#8f61bd',
    500: '#581ba0',
    950: '#000000',
  },
}
SCSS
$custom: #581ba0;
$custom-light: #8f61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#581ba0",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 267.519,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.19267,
    "h": 297.3
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#581BA0
secondary
#90C552
accent
#EE3A9B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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