#582985#582985

#582985 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.148 H 303.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#582985
RGBrgb(88, 41, 133)
HSLhsl(271, 53%, 34%)
HSVhsv(271, 69%, 52%)
CMYKcmyk(33.8%, 69.2%, 0%, 47.8%)
CIE-LABlab(27.72, 39.87, -43.28)
CIE-LCHlch(27.72, 58.85, 312.65°)
OKLaboklab(39.44% 0.0821 -0.123)
OKLCHoklch(39.44% 0.148 303.7)
XYZxyz(9.0501, 5.3541, 22.7424)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582985 #568529
analogous
#2A2985 #582985 #852984
triadic
#582985 #855829 #298558
tetradic
#582985 #852A29 #568529 #298485
square
#582985 #852A29 #568529 #298485
split-complementary
#582985 #848529 #29852A
monochromatic
#1A0C27 #391B56 #582985 #7737B4 #955CCD

Accessibility & contrast

On white

10.14
#582985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582985
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582985#FFFFFF#000000##FFFFFF
##5829851.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#054183
Tritanopia (blue-blind)
#4F3E53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582985;
/* rgb */ color: rgb(88, 41, 133);
/* oklch */ color: oklch(39.4% 0.148 303.7);
Tailwind
colors: {
  custom: {
    50: '#8b66a9',
    500: '#582985',
    950: '#000000',
  },
}
SCSS
$custom: #582985;
$custom-light: #8b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582985",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 270.652,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.14785,
    "h": 303.7
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#582985
secondary
#84B258
accent
#DC4C92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582985

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

Preview Lab → · Contrast checker → · Palette generator →

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