#583A78#583A78

#583A78 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.2% C 0.104 H 304.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#583A78
RGBrgb(88, 58, 120)
HSLhsl(269, 35%, 35%)
HSVhsv(269, 52%, 47%)
CMYKcmyk(26.7%, 51.7%, 0%, 52.9%)
CIE-LABlab(30.54, 26.69, -30.62)
CIE-LCHlch(30.54, 40.62, 311.08°)
OKLaboklab(41.22% 0.0592 -0.0859)
OKLCHoklch(41.22% 0.104 304.6)
XYZxyz(8.9270, 6.4569, 18.5417)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583A78 #5A783A
analogous
#3A3B78 #583A78 #773A78
triadic
#583A78 #78583A #3A7858
tetradic
#583A78 #783A3B #5A783A #3A7877
square
#583A78 #783A3B #5A783A #3A7877
split-complementary
#583A78 #78773A #3B783A
monochromatic
#1B1225 #3A264F #583A78 #764EA1 #9572BB

Accessibility & contrast

On white

9.16
#583A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#583A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583A78
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583A78#FFFFFF#000000##FFFFFF
##583A781.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#304876
Tritanopia (blue-blind)
#534553
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #583a78;
/* rgb */ color: rgb(88, 58, 120);
/* oklch */ color: oklch(41.2% 0.104 304.6);
Tailwind
colors: {
  custom: {
    50: '#89719f',
    500: '#583a78',
    950: '#000000',
  },
}
SCSS
$custom: #583a78;
$custom-light: #89719f;
$custom-dark: #000000;
JSON
{
  "hex": "#583a78",
  "rgb": {
    "r": 88,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 269.032,
    "s": 34.831,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.10432,
    "h": 304.6
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#583A78
secondary
#88A46A
accent
#CB5D96
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583A78

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

Preview Lab → · Contrast checker → · Palette generator →

#583A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva