#582697#582697

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

Color values

HEX#582697
RGBrgb(88, 38, 151)
HSLhsl(267, 60%, 37%)
HSVhsv(267, 75%, 59%)
CMYKcmyk(41.7%, 74.8%, 0%, 40.8%)
CIE-LABlab(28.63, 46.03, -52.95)
CIE-LCHlch(28.63, 70.15, 311.00°)
OKLaboklab(40.54% 0.0821 -0.1513)
OKLCHoklch(40.54% 0.172 298.5)
XYZxyz(10.3021, 5.6951, 29.8287)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582697 #659726
analogous
#262C97 #582697 #912697
triadic
#582697 #975826 #269758
tetradic
#582697 #97262C #659726 #269791
square
#582697 #97262C #659726 #269791
split-complementary
#582697 #979126 #2C9726
monochromatic
#1F0D35 #3C1A66 #582697 #7432C8 #9560D7

Accessibility & contrast

On white

9.82
#582697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#582697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582697
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582697#FFFFFF#000000##FFFFFF
##5826971.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#48435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582697;
/* rgb */ color: rgb(88, 38, 151);
/* oklch */ color: oklch(40.5% 0.172 298.5);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#582697',
    950: '#000000',
  },
}
SCSS
$custom: #582697;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582697",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 266.549,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.17215,
    "h": 298.5
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#582697
secondary
#92BC5C
accent
#E3459D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582697

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

Preview Lab → · Contrast checker → · Palette generator →

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