#5926A2#5926A2

#5926A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.184 H 296.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5926A2
RGBrgb(89, 38, 162)
HSLhsl(265, 62%, 39%)
HSVhsv(265, 77%, 64%)
CMYKcmyk(45.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(29.71, 49.07, -57.88)
CIE-LCHlch(29.71, 75.88, 310.29°)
OKLaboklab(41.62% 0.0808 -0.1658)
OKLCHoklch(41.62% 0.184 296)
XYZxyz(11.3328, 6.1184, 34.7593)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926A2 #6FA226
analogous
#2631A2 #5926A2 #9726A2
triadic
#5926A2 #A25926 #26A259
tetradic
#5926A2 #A22631 #6FA226 #26A297
square
#5926A2 #A22631 #6FA226 #26A297
split-complementary
#5926A2 #A29726 #31A226
monochromatic
#230F3F #3E1A70 #5926A2 #7535D0 #9767DB

Accessibility & contrast

On white

9.44
#5926A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5926A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926A2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926A2#FFFFFF#000000##FFFFFF
##5926A21.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#454763
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5926a2;
/* rgb */ color: rgb(89, 38, 162);
/* oklch */ color: oklch(41.6% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#8f66bf',
    500: '#5926a2',
    950: '#000000',
  },
}
SCSS
$custom: #5926a2;
$custom-light: #8f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5926a2",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 264.677,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.18444,
    "h": 296
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#5926A2
secondary
#9AC163
accent
#E543A2
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5926A2

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

Preview Lab → · Contrast checker → · Palette generator →

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