#582068#582068

#582068 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.129 H 317.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#582068
RGBrgb(88, 32, 104)
HSLhsl(287, 53%, 27%)
HSVhsv(287, 69%, 41%)
CMYKcmyk(15.4%, 69.2%, 0%, 59.2%)
CIE-LABlab(24.02, 37.46, -30.76)
CIE-LCHlch(24.02, 48.47, 320.61°)
OKLaboklab(36.13% 0.0955 -0.0862)
OKLCHoklch(36.13% 0.129 317.9)
XYZxyz(7.0394, 4.1075, 13.5160)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582068 #306820
analogous
#342068 #582068 #682054
triadic
#582068 #685820 #206858
tetradic
#582068 #683420 #306820 #205468
square
#582068 #683420 #306820 #205468
split-complementary
#582068 #546820 #206834
monochromatic
#140717 #301239 #582068 #802E97 #A63FC4

Accessibility & contrast

On white

11.53
#582068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#582068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582068
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582068#FFFFFF#000000##FFFFFF
##5820681.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#233B66
Tritanopia (blue-blind)
#582D41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #582068;
/* rgb */ color: rgb(88, 32, 104);
/* oklch */ color: oklch(36.1% 0.129 317.9);
Tailwind
colors: {
  custom: {
    50: '#8a6093',
    500: '#582068',
    950: '#000000',
  },
}
SCSS
$custom: #582068;
$custom-light: #8a6093;
$custom-dark: #000000;
JSON
{
  "hex": "#582068",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.12862,
    "h": 317.9
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#582068
secondary
#5A9C48
accent
#DC4B6C
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #582068

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

Preview Lab → · Contrast checker → · Palette generator →

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