#582FC3#582FC3

#582FC3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.212 H 287.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#582FC3
RGBrgb(88, 47, 195)
HSLhsl(257, 61%, 47%)
HSVhsv(257, 76%, 76%)
CMYKcmyk(54.9%, 75.9%, 0%, 23.5%)
CIE-LABlab(34.08, 53.66, -70.37)
CIE-LCHlch(34.08, 88.50, 307.33°)
OKLaboklab(45.58% 0.0633 -0.2025)
OKLCHoklch(45.58% 0.212 287.4)
XYZxyz(14.8884, 8.0471, 52.3879)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FC3 #9AC32F
analogous
#2F50C3 #582FC3 #A22FC3
triadic
#582FC3 #C3582F #2FC358
tetradic
#582FC3 #C32F50 #9AC32F #2FC3A2
square
#582FC3 #C32F50 #9AC32F #2FC3A2
split-complementary
#582FC3 #C3A22F #50C32F
monochromatic
#2B1760 #422392 #582FC3 #7B58D7 #A28AE3

Accessibility & contrast

On white

8.05
#582FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#582FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FC3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FC3#FFFFFF#000000##FFFFFF
##582FC31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#2A5977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #582fc3;
/* rgb */ color: rgb(88, 47, 195);
/* oklch */ color: oklch(45.6% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#936cd6',
    500: '#582fc3',
    950: '#000000',
  },
}
SCSS
$custom: #582fc3;
$custom-light: #936cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#582fc3",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 256.622,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.21215,
    "h": 287.4
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#582FC3
secondary
#B8CD81
accent
#E444B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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