#583274#583274

#583274 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.6% C 0.113 H 308.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#583274
RGBrgb(88, 50, 116)
HSLhsl(275, 40%, 33%)
HSVhsv(275, 57%, 45%)
CMYKcmyk(24.1%, 56.9%, 0%, 54.5%)
CIE-LABlab(28.42, 30.49, -31.45)
CIE-LCHlch(28.42, 43.80, 314.12°)
OKLaboklab(39.58% 0.0707 -0.0883)
OKLCHoklch(39.58% 0.113 308.7)
XYZxyz(8.3169, 5.6170, 17.1657)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583274 #4E7432
analogous
#373274 #583274 #74326F
triadic
#583274 #745832 #327458
tetradic
#583274 #743732 #4E7432 #326F74
square
#583274 #743732 #4E7432 #326F74
split-complementary
#583274 #6F7432 #327437
monochromatic
#170D1E #382049 #583274 #78449F #9764BC

Accessibility & contrast

On white

9.89
#583274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#583274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583274
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583274#FFFFFF#000000##FFFFFF
##5832741.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4176
Deuteranopia (green-blind)
#2A4472
Tritanopia (blue-blind)
#543E4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #583274;
/* rgb */ color: rgb(88, 50, 116);
/* oklch */ color: oklch(39.6% 0.113 308.7);
Tailwind
colors: {
  custom: {
    50: '#896b9c',
    500: '#583274',
    950: '#000000',
  },
}
SCSS
$custom: #583274;
$custom-light: #896b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#583274",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 274.545,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3958,
    "c": 0.11311,
    "h": 308.7
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#583274
secondary
#7CA45E
accent
#D0588B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #583274

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

Preview Lab → · Contrast checker → · Palette generator →

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