#582FBA#582FBA

#582FBA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.202 H 289.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#582FBA
RGBrgb(88, 47, 186)
HSLhsl(258, 60%, 46%)
HSVhsv(258, 75%, 73%)
CMYKcmyk(52.7%, 74.7%, 0%, 27.1%)
CIE-LABlab(33.25, 51.16, -66.44)
CIE-LCHlch(33.25, 83.86, 307.60°)
OKLaboklab(44.74% 0.0656 -0.191)
OKLCHoklch(44.74% 0.202 289)
XYZxyz(13.9014, 7.6523, 47.1894)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FBA #91BA2F
analogous
#2F4BBA #582FBA #9D2FBA
triadic
#582FBA #BA582F #2FBA58
tetradic
#582FBA #BA2F4B #91BA2F #2FBA9D
square
#582FBA #BA2F4B #91BA2F #2FBA9D
split-complementary
#582FBA #BA9D2F #4BBA2F
monochromatic
#2A1658 #412389 #582FBA #7953D3 #9F84E0

Accessibility & contrast

On white

8.30
#582FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#582FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FBA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FBA#FFFFFF#000000##FFFFFF
##582FBA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#335572
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582fba;
/* rgb */ color: rgb(88, 47, 186);
/* oklch */ color: oklch(44.7% 0.202 289.0);
Tailwind
colors: {
  custom: {
    50: '#916cd0',
    500: '#582fba',
    950: '#000000',
  },
}
SCSS
$custom: #582fba;
$custom-light: #916cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#582fba",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 257.698,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.20196,
    "h": 289
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#582FBA
secondary
#B2C97C
accent
#E345B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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