#583178#583178

#583178 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.7% C 0.120 H 307.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#583178
RGBrgb(88, 49, 120)
HSLhsl(273, 42%, 33%)
HSVhsv(273, 59%, 47%)
CMYKcmyk(26.7%, 59.2%, 0%, 52.9%)
CIE-LABlab(28.45, 32.10, -33.94)
CIE-LCHlch(28.45, 46.71, 313.40°)
OKLaboklab(39.68% 0.0724 -0.0956)
OKLCHoklch(39.68% 0.12 307.1)
XYZxyz(8.5123, 5.6275, 18.4034)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583178 #517831
analogous
#343178 #583178 #783174
triadic
#583178 #785831 #317858
tetradic
#583178 #783431 #517831 #317478
square
#583178 #783431 #517831 #317478
split-complementary
#583178 #747831 #317834
monochromatic
#180E21 #381F4D #583178 #7843A3 #9664C0

Accessibility & contrast

On white

9.88
#583178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#583178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583178
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583178#FFFFFF#000000##FFFFFF
##5831781.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#533E4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #583178;
/* rgb */ color: rgb(88, 49, 120);
/* oklch */ color: oklch(39.7% 0.120 307.1);
Tailwind
colors: {
  custom: {
    50: '#896b9f',
    500: '#583178',
    950: '#000000',
  },
}
SCSS
$custom: #583178;
$custom-light: #896b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#583178",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 272.958,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39681,
    "c": 0.11986,
    "h": 307.1
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#583178
secondary
#7FA75E
accent
#D2568E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583178

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

Preview Lab → · Contrast checker → · Palette generator →

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