#583398#583398

#583398 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.157 H 295.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#583398
RGBrgb(88, 51, 152)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 66%, 60%)
CMYKcmyk(42.1%, 66.4%, 0%, 40.4%)
CIE-LABlab(31.14, 39.56, -49.48)
CIE-LCHlch(31.14, 63.35, 308.64°)
OKLaboklab(42.35% 0.0683 -0.1412)
OKLCHoklch(42.35% 0.157 295.8)
XYZxyz(10.8743, 6.7091, 30.4217)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583398 #739833
analogous
#334198 #583398 #8B3398
triadic
#583398 #985833 #339858
tetradic
#583398 #983341 #739833 #33988B
square
#583398 #983341 #739833 #33988B
split-complementary
#583398 #988B33 #419833
monochromatic
#23143C #3D246A #583398 #7447C1 #9675D1

Accessibility & contrast

On white

8.97
#583398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#583398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583398
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583398#FFFFFF#000000##FFFFFF
##5833981.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#474B61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #583398;
/* rgb */ color: rgb(88, 51, 152);
/* oklch */ color: oklch(42.4% 0.157 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c6db7',
    500: '#583398',
    950: '#000000',
  },
}
SCSS
$custom: #583398;
$custom-light: #8c6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#583398",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 261.98,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.15685,
    "h": 295.8
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#583398
secondary
#9DB96E
accent
#D94FA6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #583398

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

Preview Lab → · Contrast checker → · Palette generator →

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