#582FBF#582FBF

#582FBF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.208 H 288.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#582FBF
RGBrgb(88, 47, 191)
HSLhsl(257, 61%, 47%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(53.9%, 75.4%, 0%, 25.1%)
CIE-LABlab(33.71, 52.55, -68.64)
CIE-LCHlch(33.71, 86.44, 307.44°)
OKLaboklab(45.2% 0.0643 -0.1974)
OKLCHoklch(45.2% 0.208 288)
XYZxyz(14.4422, 7.8686, 50.0379)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FBF #96BF2F
analogous
#2F4EBF #582FBF #A02FBF
triadic
#582FBF #BF582F #2FBF58
tetradic
#582FBF #BF2F4E #96BF2F #2FBFA0
square
#582FBF #BF2F4E #96BF2F #2FBFA0
split-complementary
#582FBF #BFA02F #4EBF2F
monochromatic
#2B175D #41238E #582FBF #7A56D5 #A187E1

Accessibility & contrast

On white

8.16
#582FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#582FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FBF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FBF#FFFFFF#000000##FFFFFF
##582FBF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#2E5775
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582fbf;
/* rgb */ color: rgb(88, 47, 191);
/* oklch */ color: oklch(45.2% 0.208 288.0);
Tailwind
colors: {
  custom: {
    50: '#926cd3',
    500: '#582fbf',
    950: '#000000',
  },
}
SCSS
$custom: #582fbf;
$custom-light: #926cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#582fbf",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 257.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.20764,
    "h": 288
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#582FBF
secondary
#B5CB7F
accent
#E444B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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