#583286#583286

#583286 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.136 H 301.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#583286
RGBrgb(88, 50, 134)
HSLhsl(267, 46%, 36%)
HSVhsv(267, 63%, 53%)
CMYKcmyk(34.3%, 62.7%, 0%, 47.5%)
CIE-LABlab(29.61, 35.20, -40.87)
CIE-LCHlch(29.61, 53.93, 310.74°)
OKLaboklab(40.82% 0.0709 -0.1159)
OKLCHoklch(40.82% 0.136 301.5)
XYZxyz(9.4672, 6.0771, 23.2239)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583286 #608632
analogous
#323686 #583286 #823286
triadic
#583286 #865832 #328658
tetradic
#583286 #863236 #608632 #328682
square
#583286 #863236 #608632 #328682
split-complementary
#583286 #868232 #368632
monochromatic
#1D112D #3B2159 #583286 #7543B3 #956BC8

Accessibility & contrast

On white

9.48
#583286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #583286
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583286#FFFFFF#000000##FFFFFF
##5832861.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#4F4457
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #583286;
/* rgb */ color: rgb(88, 50, 134);
/* oklch */ color: oklch(40.8% 0.136 301.5);
Tailwind
colors: {
  custom: {
    50: '#8b6caa',
    500: '#583286',
    950: '#000000',
  },
}
SCSS
$custom: #583286;
$custom-light: #8b6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#583286",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 267.143,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.13586,
    "h": 301.5
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#583286
secondary
#8DAF64
accent
#D5529A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583286

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

Preview Lab → · Contrast checker → · Palette generator →

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