#583198#583198

#583198 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.160 H 296.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#583198
RGBrgb(88, 49, 152)
HSLhsl(263, 51%, 39%)
HSVhsv(263, 68%, 60%)
CMYKcmyk(42.1%, 67.8%, 0%, 40.4%)
CIE-LABlab(30.73, 40.66, -50.14)
CIE-LCHlch(30.73, 64.55, 309.04°)
OKLaboklab(42.06% 0.0705 -0.1431)
OKLCHoklch(42.06% 0.16 296.2)
XYZxyz(10.7888, 6.5381, 30.3932)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583198 #719831
analogous
#313E98 #583198 #8C3198
triadic
#583198 #985831 #319858
tetradic
#583198 #98313E #719831 #31988C
square
#583198 #98313E #719831 #31988C
split-complementary
#583198 #988C31 #3E9831
monochromatic
#22133B #3D226A #583198 #7444C3 #9672D2

Accessibility & contrast

On white

9.10
#583198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#583198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583198
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583198#FFFFFF#000000##FFFFFF
##5831981.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#484960
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #583198;
/* rgb */ color: rgb(88, 49, 152);
/* oklch */ color: oklch(42.1% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#8d6cb7',
    500: '#583198',
    950: '#000000',
  },
}
SCSS
$custom: #583198;
$custom-light: #8d6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#583198",
  "rgb": {
    "r": 88,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 262.718,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.15957,
    "h": 296.2
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#583198
secondary
#9CB96B
accent
#DB4DA5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #583198

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

Preview Lab → · Contrast checker → · Palette generator →

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