#583F81#583F81

#583F81 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.7% C 0.108 H 299.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#583F81
RGBrgb(88, 63, 129)
HSLhsl(263, 34%, 38%)
HSVhsv(263, 51%, 51%)
CMYKcmyk(31.8%, 51.2%, 0%, 49.4%)
CIE-LABlab(32.29, 26.02, -33.46)
CIE-LCHlch(32.29, 42.39, 307.87°)
OKLaboklab(42.7% 0.0528 -0.0942)
OKLCHoklch(42.7% 0.108 299.3)
XYZxyz(9.7635, 7.2146, 21.6428)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583F81 #68813F
analogous
#3F4781 #583F81 #793F81
triadic
#583F81 #81583F #3F8158
tetradic
#583F81 #813F47 #68813F #3F8179
square
#583F81 #813F47 #68813F #3F8179
split-complementary
#583F81 #81793F #47813F
monochromatic
#20172F #3C2B58 #583F81 #7453AA #957CBF

Accessibility & contrast

On white

8.60
#583F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#583F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583F81
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583F81#FFFFFF#000000##FFFFFF
##583F811.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#504B5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #583f81;
/* rgb */ color: rgb(88, 63, 129);
/* oklch */ color: oklch(42.7% 0.108 299.3);
Tailwind
colors: {
  custom: {
    50: '#8974a6',
    500: '#583f81',
    950: '#000000',
  },
}
SCSS
$custom: #583f81;
$custom-light: #8974a6;
$custom-dark: #000000;
JSON
{
  "hex": "#583f81",
  "rgb": {
    "r": 88,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 262.727,
    "s": 34.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.10799,
    "h": 299.3
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#583F81
secondary
#94A973
accent
#CA5DA1
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #583F81

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

Preview Lab → · Contrast checker → · Palette generator →

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