#581EB3#581EB3

#581EB3 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.210 H 292.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#581EB3
RGBrgb(88, 30, 179)
HSLhsl(263, 71%, 41%)
HSVhsv(263, 83%, 70%)
CMYKcmyk(50.8%, 83.2%, 0%, 29.8%)
CIE-LABlab(30.05, 56.60, -67.54)
CIE-LCHlch(30.05, 88.12, 309.96°)
OKLaboklab(42.32% 0.0797 -0.194)
OKLCHoklch(42.32% 0.21 292.3)
XYZxyz(12.6232, 6.2574, 43.1818)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581EB3 #79B31E
analogous
#1E2EB3 #581EB3 #A21EB3
triadic
#581EB3 #B3581E #1EB358
tetradic
#581EB3 #B31E2E #79B31E #1EB3A2
square
#581EB3 #B31E2E #79B31E #1EB3A2
split-complementary
#581EB3 #B3A21E #2EB31E
monochromatic
#240C4A #3E157F #581EB3 #7432DD #9866E5

Accessibility & contrast

On white

9.33
#581EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#581EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581EB3
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581EB3#FFFFFF#000000##FFFFFF
##581EB31.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#394B6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #581eb3;
/* rgb */ color: rgb(88, 30, 179);
/* oklch */ color: oklch(42.3% 0.210 292.3);
Tailwind
colors: {
  custom: {
    50: '#9163cb',
    500: '#581eb3',
    950: '#000000',
  },
}
SCSS
$custom: #581eb3;
$custom-light: #9163cb;
$custom-dark: #000000;
JSON
{
  "hex": "#581eb3",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 263.356,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42316,
    "c": 0.20978,
    "h": 292.3
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#581EB3
secondary
#A2CB62
accent
#EE3AA8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #581EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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