#583291#583291

#583291 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.150 H 298.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#583291
RGBrgb(88, 50, 145)
HSLhsl(264, 49%, 38%)
HSVhsv(264, 66%, 57%)
CMYKcmyk(39.3%, 65.5%, 0%, 43.1%)
CIE-LABlab(30.40, 38.18, -46.39)
CIE-LCHlch(30.40, 60.08, 309.46°)
OKLaboklab(41.65% 0.0702 -0.1321)
OKLCHoklch(41.65% 0.15 298)
XYZxyz(10.2746, 6.4001, 27.4766)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583291 #6B9132
analogous
#323B91 #583291 #873291
triadic
#583291 #915832 #329158
tetradic
#583291 #91323B #6B9132 #329187
square
#583291 #91323B #6B9132 #329187
split-complementary
#583291 #918732 #3B9132
monochromatic
#211336 #3C2263 #583291 #7442BE #9570CE

Accessibility & contrast

On white

9.21
#583291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#583291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583291
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583291#FFFFFF#000000##FFFFFF
##5832911.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#4B475D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #583291;
/* rgb */ color: rgb(88, 50, 145);
/* oklch */ color: oklch(41.7% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#8c6cb2',
    500: '#583291',
    950: '#000000',
  },
}
SCSS
$custom: #583291;
$custom-light: #8c6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#583291",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 264,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.14959,
    "h": 298
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#583291
secondary
#97B569
accent
#D850A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #583291

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

Preview Lab → · Contrast checker → · Palette generator →

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