#583185#583185

#583185 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.136 H 302.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#583185
RGBrgb(88, 49, 133)
HSLhsl(268, 46%, 36%)
HSVhsv(268, 63%, 52%)
CMYKcmyk(33.8%, 63.2%, 0%, 47.8%)
CIE-LABlab(29.32, 35.50, -40.70)
CIE-LCHlch(29.32, 54.00, 311.10°)
OKLaboklab(40.6% 0.0723 -0.1154)
OKLCHoklch(40.6% 0.136 302.1)
XYZxyz(9.3555, 5.9648, 22.8442)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583185 #5E8531
analogous
#313485 #583185 #823185
triadic
#583185 #855831 #318558
tetradic
#583185 #853134 #5E8531 #318582
square
#583185 #853134 #5E8531 #318582
split-complementary
#583185 #858231 #348531
monochromatic
#1D102C #3A2158 #583185 #7641B2 #9569C8

Accessibility & contrast

On white

9.58
#583185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#583185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583185
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583185#FFFFFF#000000##FFFFFF
##5831851.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#174583
Tritanopia (blue-blind)
#4F4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #583185;
/* rgb */ color: rgb(88, 49, 133);
/* oklch */ color: oklch(40.6% 0.136 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ba9',
    500: '#583185',
    950: '#000000',
  },
}
SCSS
$custom: #583185;
$custom-light: #8b6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#583185",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 267.857,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.13614,
    "h": 302.1
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#583185
secondary
#8CAF63
accent
#D65299
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #583185

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

Preview Lab → · Contrast checker → · Palette generator →

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