#5926A0#5926A0

#5926A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 296.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5926A0
RGBrgb(89, 38, 160)
HSLhsl(265, 62%, 39%)
HSVhsv(265, 76%, 63%)
CMYKcmyk(44.4%, 76.3%, 0%, 37.3%)
CIE-LABlab(29.53, 48.55, -56.96)
CIE-LCHlch(29.53, 74.84, 310.44°)
OKLaboklab(41.44% 0.0814 -0.1631)
OKLCHoklch(41.44% 0.182 296.5)
XYZxyz(11.1564, 6.0479, 33.8305)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926A0 #6DA026
analogous
#2630A0 #5926A0 #9626A0
triadic
#5926A0 #A05926 #26A059
tetradic
#5926A0 #A02630 #6DA026 #26A096
square
#5926A0 #A02630 #6DA026 #26A096
split-complementary
#5926A0 #A09626 #30A026
monochromatic
#220F3D #3D1A6F #5926A0 #7534CF #9766DB

Accessibility & contrast

On white

9.50
#5926A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5926A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926A0
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926A0#FFFFFF#000000##FFFFFF
##5926A01.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#464661
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5926a0;
/* rgb */ color: rgb(89, 38, 160);
/* oklch */ color: oklch(41.4% 0.182 296.5);
Tailwind
colors: {
  custom: {
    50: '#8f66bd',
    500: '#5926a0',
    950: '#000000',
  },
}
SCSS
$custom: #5926a0;
$custom-light: #8f66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5926a0",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 265.082,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.18224,
    "h": 296.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#5926A0
secondary
#99C061
accent
#E543A1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5926A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5926A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva