#583287#583287

#583287 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.137 H 301.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#583287
RGBrgb(88, 50, 135)
HSLhsl(267, 46%, 36%)
HSVhsv(267, 63%, 53%)
CMYKcmyk(34.8%, 63%, 0%, 47.1%)
CIE-LABlab(29.68, 35.46, -41.37)
CIE-LCHlch(29.68, 54.49, 310.60°)
OKLaboklab(40.9% 0.0709 -0.1174)
OKLCHoklch(40.9% 0.137 301.1)
XYZxyz(9.5372, 6.1051, 23.5929)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583287 #618732
analogous
#323787 #583287 #833287
triadic
#583287 #875832 #328758
tetradic
#583287 #873237 #618732 #328783
square
#583287 #873237 #618732 #328783
split-complementary
#583287 #878332 #378732
monochromatic
#1E112E #3B215A #583287 #7543B4 #956BC8

Accessibility & contrast

On white

9.46
#583287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#583287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583287
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583287#FFFFFF#000000##FFFFFF
##5832871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#4E4457
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #583287;
/* rgb */ color: rgb(88, 50, 135);
/* oklch */ color: oklch(40.9% 0.137 301.1);
Tailwind
colors: {
  custom: {
    50: '#8b6caa',
    500: '#583287',
    950: '#000000',
  },
}
SCSS
$custom: #583287;
$custom-light: #8b6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#583287",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 266.824,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.13712,
    "h": 301.1
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#583287
secondary
#8EB065
accent
#D6529B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583287

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

Preview Lab → · Contrast checker → · Palette generator →

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