#582598#582598

#582598 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.174 H 298.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#582598
RGBrgb(88, 37, 152)
HSLhsl(267, 61%, 37%)
HSVhsv(267, 76%, 60%)
CMYKcmyk(42.1%, 75.7%, 0%, 40.4%)
CIE-LABlab(28.55, 46.75, -53.69)
CIE-LCHlch(28.55, 71.19, 311.05°)
OKLaboklab(40.51% 0.0828 -0.1535)
OKLCHoklch(40.51% 0.174 298.3)
XYZxyz(10.3521, 5.6647, 30.2477)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582598 #659825
analogous
#252B98 #582598 #922598
triadic
#582598 #985825 #259858
tetradic
#582598 #98252B #659825 #259892
square
#582598 #98252B #659825 #259892
split-complementary
#582598 #989225 #2B9825
monochromatic
#1F0D36 #3C1967 #582598 #7431C9 #955FD8

Accessibility & contrast

On white

9.85
#582598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582598
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582598#FFFFFF#000000##FFFFFF
##5825981.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#48435D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582598;
/* rgb */ color: rgb(88, 37, 152);
/* oklch */ color: oklch(40.5% 0.174 298.3);
Tailwind
colors: {
  custom: {
    50: '#8d65b7',
    500: '#582598',
    950: '#000000',
  },
}
SCSS
$custom: #582598;
$custom-light: #8d65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582598",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 266.609,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40507,
    "c": 0.17439,
    "h": 298.3
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#582598
secondary
#92BD5C
accent
#E4449D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582598

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

Preview Lab → · Contrast checker → · Palette generator →

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