#582694#582694

#582694 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.169 H 299.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#582694
RGBrgb(88, 38, 148)
HSLhsl(267, 59%, 36%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.5%, 74.3%, 0%, 42%)
CIE-LABlab(28.38, 45.25, -51.52)
CIE-LCHlch(28.38, 68.56, 311.29°)
OKLaboklab(40.28% 0.0827 -0.1471)
OKLCHoklch(40.28% 0.169 299.3)
XYZxyz(10.0616, 5.5989, 28.5618)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582694 #629426
analogous
#262B94 #582694 #8F2694
triadic
#582694 #945826 #269458
tetradic
#582694 #94262B #629426 #26948F
square
#582694 #94262B #629426 #26948F
split-complementary
#582694 #948F26 #2B9426
monochromatic
#1E0D33 #3B1963 #582694 #7533C5 #955FD6

Accessibility & contrast

On white

9.91
#582694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#582694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582694
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582694#FFFFFF#000000##FFFFFF
##5826941.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#4A425B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582694;
/* rgb */ color: rgb(88, 38, 148);
/* oklch */ color: oklch(40.3% 0.169 299.3);
Tailwind
colors: {
  custom: {
    50: '#8d65b4',
    500: '#582694',
    950: '#000000',
  },
}
SCSS
$custom: #582694;
$custom-light: #8d65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582694",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 267.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.1688,
    "h": 299.3
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#582694
secondary
#8FBB5B
accent
#E2459B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582694

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

Preview Lab → · Contrast checker → · Palette generator →

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