#583387#583387

#583387 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.136 H 300.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#583387
RGBrgb(88, 51, 135)
HSLhsl(266, 45%, 36%)
HSVhsv(266, 62%, 53%)
CMYKcmyk(34.8%, 62.2%, 0%, 47.1%)
CIE-LABlab(29.89, 34.89, -41.03)
CIE-LCHlch(29.89, 53.86, 310.38°)
OKLaboklab(41.05% 0.0696 -0.1164)
OKLCHoklch(41.05% 0.136 300.9)
XYZxyz(9.5805, 6.1916, 23.6073)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583387 #628733
analogous
#333887 #583387 #823387
triadic
#583387 #875833 #338758
tetradic
#583387 #873338 #628733 #338782
square
#583387 #873338 #628733 #338782
split-complementary
#583387 #878233 #388733
monochromatic
#1E112E #3B225B #583387 #7544B3 #956DC8

Accessibility & contrast

On white

9.38
#583387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#583387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583387
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583387#FFFFFF#000000##FFFFFF
##5833871.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#184685
Tritanopia (blue-blind)
#4E4558
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #583387;
/* rgb */ color: rgb(88, 51, 135);
/* oklch */ color: oklch(41.1% 0.136 300.9);
Tailwind
colors: {
  custom: {
    50: '#8b6caa',
    500: '#583387',
    950: '#000000',
  },
}
SCSS
$custom: #583387;
$custom-light: #8b6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#583387",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 266.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.13558,
    "h": 300.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#583387
secondary
#8FB066
accent
#D5539C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583387

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

Preview Lab → · Contrast checker → · Palette generator →

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