#5926A6#5926A6

#5926A6 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.189 H 295.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5926A6
RGBrgb(89, 38, 166)
HSLhsl(264, 63%, 40%)
HSVhsv(264, 77%, 65%)
CMYKcmyk(46.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(30.07, 50.12, -59.71)
CIE-LCHlch(30.07, 77.96, 310.01°)
OKLaboklab(41.98% 0.0797 -0.1712)
OKLCHoklch(41.98% 0.189 295)
XYZxyz(11.6940, 6.2629, 36.6617)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926A6 #73A626
analogous
#2633A6 #5926A6 #9926A6
triadic
#5926A6 #A65926 #26A659
tetradic
#5926A6 #A62633 #73A626 #26A699
square
#5926A6 #A62633 #73A626 #26A699
split-complementary
#5926A6 #A69926 #33A626
monochromatic
#240F42 #3E1B74 #5926A6 #7538D1 #976ADD

Accessibility & contrast

On white

9.32
#5926A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5926A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926A6
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926A6#FFFFFF#000000##FFFFFF
##5926A61.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#434965
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5926a6;
/* rgb */ color: rgb(89, 38, 166);
/* oklch */ color: oklch(42.0% 0.189 295.0);
Tailwind
colors: {
  custom: {
    50: '#9066c1',
    500: '#5926a6',
    950: '#000000',
  },
}
SCSS
$custom: #5926a6;
$custom-light: #9066c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5926a6",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 263.906,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.18883,
    "h": 295
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#5926A6
secondary
#9DC365
accent
#E642A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5926A6

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

Preview Lab → · Contrast checker → · Palette generator →

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