#583271#583271

#583271 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.4% C 0.109 H 310.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#583271
RGBrgb(88, 50, 113)
HSLhsl(276, 39%, 32%)
HSVhsv(276, 56%, 44%)
CMYKcmyk(22.1%, 55.8%, 0%, 55.7%)
CIE-LABlab(28.24, 29.74, -29.83)
CIE-LCHlch(28.24, 42.12, 314.91°)
OKLaboklab(39.39% 0.0705 -0.0836)
OKLCHoklch(39.39% 0.109 310.2)
XYZxyz(8.1452, 5.5483, 16.2614)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583271 #4B7132
analogous
#393271 #583271 #71326B
triadic
#583271 #715832 #327158
tetradic
#583271 #713932 #4B7132 #326B71
square
#583271 #713932 #4B7132 #326B71
split-complementary
#583271 #6B7132 #327139
monochromatic
#160C1C #371F47 #583271 #79459B #9863BA

Accessibility & contrast

On white

9.95
#583271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#583271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583271
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583271#FFFFFF#000000##FFFFFF
##5832711.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#553D4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #583271;
/* rgb */ color: rgb(88, 50, 113);
/* oklch */ color: oklch(39.4% 0.109 310.2);
Tailwind
colors: {
  custom: {
    50: '#896b9a',
    500: '#583271',
    950: '#000000',
  },
}
SCSS
$custom: #583271;
$custom-light: #896b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#583271",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 276.19,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.10933,
    "h": 310.2
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#583271
secondary
#78A25D
accent
#CF5988
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583271

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

Preview Lab → · Contrast checker → · Palette generator →

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