#582FAF#582FAF

#582FAF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.189 H 291.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#582FAF
RGBrgb(88, 47, 175)
HSLhsl(259, 58%, 44%)
HSVhsv(259, 73%, 69%)
CMYKcmyk(49.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(32.26, 48.10, -61.52)
CIE-LCHlch(32.26, 78.09, 308.02°)
OKLaboklab(43.75% 0.0683 -0.1766)
OKLCHoklch(43.75% 0.189 291.1)
XYZxyz(12.7767, 7.2024, 41.2661)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FAF #86AF2F
analogous
#2F46AF #582FAF #982FAF
triadic
#582FAF #AF582F #2FAF58
tetradic
#582FAF #AF2F46 #86AF2F #2FAF98
square
#582FAF #AF2F46 #86AF2F #2FAF98
split-complementary
#582FAF #AF982F #46AF2F
monochromatic
#27154F #40227F #582FAF #764CCF #9B7CDC

Accessibility & contrast

On white

8.60
#582FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#582FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FAF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FAF#FFFFFF#000000##FFFFFF
##582FAF1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#3B516C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582faf;
/* rgb */ color: rgb(88, 47, 175);
/* oklch */ color: oklch(43.7% 0.189 291.1);
Tailwind
colors: {
  custom: {
    50: '#906bc8',
    500: '#582faf',
    950: '#000000',
  },
}
SCSS
$custom: #582faf;
$custom-light: #906bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#582faf",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 259.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.18931,
    "h": 291.1
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#582FAF
secondary
#ABC475
accent
#E147B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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