#5926A3#5926A3

#5926A3 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.186 H 295.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5926A3
RGBrgb(89, 38, 163)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(45.4%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.80, 49.33, -58.34)
CIE-LCHlch(29.80, 76.40, 310.22°)
OKLaboklab(41.71% 0.0806 -0.1671)
OKLCHoklch(41.71% 0.186 295.7)
XYZxyz(11.4220, 6.1541, 35.2293)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926A3 #70A326
analogous
#2632A3 #5926A3 #9826A3
triadic
#5926A3 #A35926 #26A359
tetradic
#5926A3 #A32632 #70A326 #26A398
square
#5926A3 #A32632 #70A326 #26A398
split-complementary
#5926A3 #A39826 #32A326
monochromatic
#230F40 #3E1A71 #5926A3 #7536D0 #9768DC

Accessibility & contrast

On white

9.41
#5926A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5926A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926A3
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926A3#FFFFFF#000000##FFFFFF
##5926A31.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#444863
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5926a3;
/* rgb */ color: rgb(89, 38, 163);
/* oklch */ color: oklch(41.7% 0.186 295.7);
Tailwind
colors: {
  custom: {
    50: '#8f66bf',
    500: '#5926a3',
    950: '#000000',
  },
}
SCSS
$custom: #5926a3;
$custom-light: #8f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5926a3",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 264.48,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.18554,
    "h": 295.7
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#5926A3
secondary
#9BC263
accent
#E543A3
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5926A3

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

Preview Lab → · Contrast checker → · Palette generator →

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