#581BB3#581BB3

#581BB3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.1% C 0.212 H 292.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#581BB3
RGBrgb(88, 27, 179)
HSLhsl(264, 74%, 40%)
HSVhsv(264, 85%, 70%)
CMYKcmyk(50.8%, 84.9%, 0%, 29.8%)
CIE-LABlab(29.70, 57.65, -68.13)
CIE-LCHlch(29.70, 89.25, 310.24°)
OKLaboklab(42.07% 0.0815 -0.1957)
OKLCHoklch(42.07% 0.212 292.6)
XYZxyz(12.5508, 6.1128, 43.1577)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581BB3 #76B31B
analogous
#1B2AB3 #581BB3 #A41BB3
triadic
#581BB3 #B3581B #1BB358
tetradic
#581BB3 #B31B2A #76B31B #1BB3A4
square
#581BB3 #B31B2A #76B31B #1BB3A4
split-complementary
#581BB3 #B3A41B #2AB31B
monochromatic
#240B49 #3E137E #581BB3 #742CDF #9761E7

Accessibility & contrast

On white

9.45
#581BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#581BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581BB3
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581BB3#FFFFFF#000000##FFFFFF
##581BB31.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#394A6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #581bb3;
/* rgb */ color: rgb(88, 27, 179);
/* oklch */ color: oklch(42.1% 0.212 292.6);
Tailwind
colors: {
  custom: {
    50: '#9162cb',
    500: '#581bb3',
    950: '#000000',
  },
}
SCSS
$custom: #581bb3;
$custom-light: #9162cb;
$custom-dark: #000000;
JSON
{
  "hex": "#581bb3",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 264.079,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42071,
    "c": 0.21201,
    "h": 292.6
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#581BB3
secondary
#A0CC5E
accent
#F037A6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #581BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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