#583285#583285

#583285 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.135 H 301.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#583285
RGBrgb(88, 50, 133)
HSLhsl(267, 45%, 36%)
HSVhsv(267, 62%, 52%)
CMYKcmyk(33.8%, 62.4%, 0%, 47.8%)
CIE-LABlab(29.54, 34.93, -40.35)
CIE-LCHlch(29.54, 53.37, 310.88°)
OKLaboklab(40.75% 0.071 -0.1144)
OKLCHoklch(40.75% 0.135 301.8)
XYZxyz(9.3978, 6.0493, 22.8583)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583285 #5F8532
analogous
#323585 #583285 #813285
triadic
#583285 #855832 #328558
tetradic
#583285 #853235 #5F8532 #328581
square
#583285 #853235 #5F8532 #328581
split-complementary
#583285 #858132 #358532
monochromatic
#1D112C #3B2159 #583285 #7543B1 #956AC7

Accessibility & contrast

On white

9.50
#583285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#583285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583285
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583285#FFFFFF#000000##FFFFFF
##5832851.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#4F4356
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #583285;
/* rgb */ color: rgb(88, 50, 133);
/* oklch */ color: oklch(40.8% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ca9',
    500: '#583285',
    950: '#000000',
  },
}
SCSS
$custom: #583285;
$custom-light: #8a6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#583285",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 267.47,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.1346,
    "h": 301.8
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #583285

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

Preview Lab → · Contrast checker → · Palette generator →

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