#582385#582385

#582385 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.156 H 304.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#582385
RGBrgb(88, 35, 133)
HSLhsl(272, 58%, 33%)
HSVhsv(272, 74%, 52%)
CMYKcmyk(33.8%, 73.7%, 0%, 47.8%)
CIE-LABlab(26.65, 42.86, -45.02)
CIE-LCHlch(26.65, 62.16, 313.59°)
OKLaboklab(38.67% 0.0888 -0.128)
OKLCHoklch(38.67% 0.156 304.7)
XYZxyz(8.8582, 4.9703, 22.6784)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582385 #508523
analogous
#272385 #582385 #852381
triadic
#582385 #855823 #238558
tetradic
#582385 #852723 #508523 #238185
square
#582385 #852723 #508523 #238185
split-complementary
#582385 #818523 #238527
monochromatic
#180924 #381655 #582385 #7830B5 #9651D1

Accessibility & contrast

On white

10.53
#582385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#582385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582385
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582385#FFFFFF#000000##FFFFFF
##5823851.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#503A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582385;
/* rgb */ color: rgb(88, 35, 133);
/* oklch */ color: oklch(38.7% 0.156 304.7);
Tailwind
colors: {
  custom: {
    50: '#8c63a9',
    500: '#582385',
    950: '#000000',
  },
}
SCSS
$custom: #582385;
$custom-light: #8c63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582385",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 272.449,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.1558,
    "h": 304.7
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#582385
secondary
#7EB54F
accent
#E2468E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582385

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

Preview Lab → · Contrast checker → · Palette generator →

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