#582BA8#582BA8

#582BA8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.186 H 293.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#582BA8
RGBrgb(88, 43, 168)
HSLhsl(262, 59%, 41%)
HSVhsv(262, 74%, 66%)
CMYKcmyk(47.6%, 74.4%, 0%, 34.1%)
CIE-LABlab(30.95, 48.15, -59.48)
CIE-LCHlch(30.95, 76.53, 308.99°)
OKLaboklab(42.63% 0.0734 -0.1706)
OKLCHoklch(42.63% 0.186 293.3)
XYZxyz(11.9543, 6.6292, 37.6879)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BA8 #7BA82B
analogous
#2B3DA8 #582BA8 #972BA8
triadic
#582BA8 #A8582B #2BA858
tetradic
#582BA8 #A82B3D #7BA82B #2BA897
square
#582BA8 #A82B3D #7BA82B #2BA897
split-complementary
#582BA8 #A8972B #3DA82B
monochromatic
#251247 #3E1F77 #582BA8 #7442CF #9872DB

Accessibility & contrast

On white

9.03
#582BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#582BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BA8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BA8#FFFFFF#000000##FFFFFF
##582BA81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#404C67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ba8;
/* rgb */ color: rgb(88, 43, 168);
/* oklch */ color: oklch(42.6% 0.186 293.3);
Tailwind
colors: {
  custom: {
    50: '#8f69c3',
    500: '#582ba8',
    950: '#000000',
  },
}
SCSS
$custom: #582ba8;
$custom-light: #8f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#582ba8",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 261.6,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.1857,
    "h": 293.3
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#582BA8
secondary
#A3C26C
accent
#E245AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #582BA8

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

Preview Lab → · Contrast checker → · Palette generator →

#582BA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva