#582FC4#582FC4

#582FC4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.213 H 287.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#582FC4
RGBrgb(88, 47, 196)
HSLhsl(257, 61%, 48%)
HSVhsv(257, 76%, 77%)
CMYKcmyk(55.1%, 76%, 0%, 23.1%)
CIE-LABlab(34.17, 53.94, -70.80)
CIE-LCHlch(34.17, 89.01, 307.30°)
OKLaboklab(45.67% 0.063 -0.2038)
OKLCHoklch(45.67% 0.213 287.2)
XYZxyz(15.0019, 8.0925, 52.9854)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FC4 #9BC42F
analogous
#2F50C4 #582FC4 #A22FC4
triadic
#582FC4 #C4582F #2FC458
tetradic
#582FC4 #C42F50 #9BC42F #2FC4A2
square
#582FC4 #C42F50 #9BC42F #2FC4A2
split-complementary
#582FC4 #C4A22F #50C42F
monochromatic
#2C1761 #422393 #582FC4 #7C59D7 #A38AE3

Accessibility & contrast

On white

8.02
#582FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#582FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FC4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FC4#FFFFFF#000000##FFFFFF
##582FC41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#285978
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #582fc4;
/* rgb */ color: rgb(88, 47, 196);
/* oklch */ color: oklch(45.7% 0.213 287.2);
Tailwind
colors: {
  custom: {
    50: '#936cd7',
    500: '#582fc4',
    950: '#000000',
  },
}
SCSS
$custom: #582fc4;
$custom-light: #936cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#582fc4",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 256.51,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.21328,
    "h": 287.2
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#582FC4
secondary
#B8CD82
accent
#E443B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #582FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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