#583298#583298

#583298 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.158 H 296.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#583298
RGBrgb(88, 50, 152)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.1%, 67.1%, 0%, 40.4%)
CIE-LABlab(30.93, 40.12, -49.81)
CIE-LCHlch(30.93, 63.96, 308.85°)
OKLaboklab(42.2% 0.0694 -0.1422)
OKLCHoklch(42.2% 0.158 296)
XYZxyz(10.8311, 6.6227, 30.4073)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#583298 #729832
analogous
#323F98 #583298 #8B3298
triadic
#583298 #985832 #329858
tetradic
#583298 #98323F #729832 #32988B
square
#583298 #98323F #729832 #32988B
split-complementary
#583298 #988B32 #3F9832
monochromatic
#23143C #3D236A #583298 #7445C2 #9673D1

Accessibility & contrast

On white

9.03
#583298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#583298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #583298
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##583298#FFFFFF#000000##FFFFFF
##5832981.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#484A60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #583298;
/* rgb */ color: rgb(88, 50, 152);
/* oklch */ color: oklch(42.2% 0.158 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c6cb7',
    500: '#583298',
    950: '#000000',
  },
}
SCSS
$custom: #583298;
$custom-light: #8c6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#583298",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 262.353,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.15822,
    "h": 296
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#583298
secondary
#9DB96D
accent
#DA4EA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #583298

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

Preview Lab → · Contrast checker → · Palette generator →

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