#583278#583278

#583278 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.8% C 0.118 H 306.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#583278
RGBrgb(88, 50, 120)
HSLhsl(273, 41%, 33%)
HSVhsv(273, 58%, 47%)
CMYKcmyk(26.7%, 58.3%, 0%, 52.9%)
CIE-LABlab(28.67, 31.51, -33.58)
CIE-LCHlch(28.67, 46.05, 313.18°)
OKLaboklab(39.84% 0.0709 -0.0945)
OKLCHoklch(39.84% 0.118 306.9)
XYZxyz(8.5546, 5.7121, 18.4175)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583278 #527832
analogous
#353278 #583278 #783275
triadic
#583278 #785832 #327858
tetradic
#583278 #783532 #527832 #327578
square
#583278 #783532 #527832 #327578
split-complementary
#583278 #757832 #327835
monochromatic
#190E22 #38204D #583278 #7844A3 #9665BF

Accessibility & contrast

On white

9.80
#583278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#583278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583278
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583278#FFFFFF#000000##FFFFFF
##5832781.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#533F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #583278;
/* rgb */ color: rgb(88, 50, 120);
/* oklch */ color: oklch(39.8% 0.118 306.9);
Tailwind
colors: {
  custom: {
    50: '#896b9f',
    500: '#583278',
    950: '#000000',
  },
}
SCSS
$custom: #583278;
$custom-light: #896b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#583278",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 272.571,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.11817,
    "h": 306.9
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#583278
secondary
#80A75F
accent
#D1578F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583278

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

Preview Lab → · Contrast checker → · Palette generator →

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