#582398#582398

#582398 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.177 H 298.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#582398
RGBrgb(88, 35, 152)
HSLhsl(267, 63%, 37%)
HSVhsv(267, 77%, 60%)
CMYKcmyk(42.1%, 77%, 0%, 40.4%)
CIE-LABlab(28.23, 47.67, -54.21)
CIE-LCHlch(28.23, 72.19, 311.32°)
OKLaboklab(40.28% 0.0846 -0.155)
OKLCHoklch(40.28% 0.177 298.6)
XYZxyz(10.2916, 5.5436, 30.2275)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582398 #639823
analogous
#232998 #582398 #932398
triadic
#582398 #985823 #239858
tetradic
#582398 #982329 #639823 #239893
square
#582398 #982329 #639823 #239893
split-complementary
#582398 #989323 #299823
monochromatic
#1E0C35 #3B1866 #582398 #752ECA #955CD9

Accessibility & contrast

On white

9.96
#582398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582398
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582398#FFFFFF#000000##FFFFFF
##5823981.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#48425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582398;
/* rgb */ color: rgb(88, 35, 152);
/* oklch */ color: oklch(40.3% 0.177 298.6);
Tailwind
colors: {
  custom: {
    50: '#8d64b7',
    500: '#582398',
    950: '#000000',
  },
}
SCSS
$custom: #582398;
$custom-light: #8d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582398",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 267.179,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.17659,
    "h": 298.6
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#582398
secondary
#90BE59
accent
#E6429C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582398

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

Preview Lab → · Contrast checker → · Palette generator →

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