#582FBC#582FBC

#582FBC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.204 H 288.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#582FBC
RGBrgb(88, 47, 188)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(53.2%, 75%, 0%, 26.3%)
CIE-LABlab(33.43, 51.72, -67.32)
CIE-LCHlch(33.43, 84.90, 307.53°)
OKLaboklab(44.93% 0.0651 -0.1936)
OKLCHoklch(44.93% 0.204 288.6)
XYZxyz(14.1155, 7.7379, 48.3170)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FBC #93BC2F
analogous
#2F4CBC #582FBC #9E2FBC
triadic
#582FBC #BC582F #2FBC58
tetradic
#582FBC #BC2F4C #93BC2F #2FBC9E
square
#582FBC #BC2F4C #93BC2F #2FBC9E
split-complementary
#582FBC #BC9E2F #4CBC2F
monochromatic
#2A175A #41238B #582FBC #7954D4 #A085E0

Accessibility & contrast

On white

8.24
#582FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#582FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FBC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FBC#FFFFFF#000000##FFFFFF
##582FBC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#315673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582fbc;
/* rgb */ color: rgb(88, 47, 188);
/* oklch */ color: oklch(44.9% 0.204 288.6);
Tailwind
colors: {
  custom: {
    50: '#916cd1',
    500: '#582fbc',
    950: '#000000',
  },
}
SCSS
$custom: #582fbc;
$custom-light: #916cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#582fbc",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 257.447,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.20424,
    "h": 288.6
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#582FBC
secondary
#B3CA7D
accent
#E345B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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