#581895#581895

#581895 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.184 H 300.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#581895
RGBrgb(88, 24, 149)
HSLhsl(271, 72%, 34%)
HSVhsv(271, 84%, 58%)
CMYKcmyk(40.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(26.44, 51.32, -55.29)
CIE-LCHlch(26.44, 75.44, 312.86°)
OKLaboklab(38.95% 0.0942 -0.1581)
OKLCHoklch(38.95% 0.184 300.8)
XYZxyz(9.7746, 4.8978, 28.8583)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581895 #559518
analogous
#1A1895 #581895 #951894
triadic
#581895 #955818 #189558
tetradic
#581895 #951A18 #559518 #189495
square
#581895 #951A18 #559518 #189495
split-complementary
#581895 #949518 #18951A
monochromatic
#1A072C #391060 #581895 #7720CA #9646E1

Accessibility & contrast

On white

10.61
#581895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#581895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581895
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581895#FFFFFF#000000##FFFFFF
##5818951.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#4A3C58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581895;
/* rgb */ color: rgb(88, 24, 149);
/* oklch */ color: oklch(39.0% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#8e5fb5',
    500: '#581895',
    950: '#000000',
  },
}
SCSS
$custom: #581895;
$custom-light: #8e5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#581895",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 270.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.18407,
    "h": 300.8
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#581895
secondary
#83C246
accent
#EF3992
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581895

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

Preview Lab → · Contrast checker → · Palette generator →

#581895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva