#5926A7#5926A7

#5926A7 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.190 H 294.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5926A7
RGBrgb(89, 38, 167)
HSLhsl(264, 63%, 40%)
HSVhsv(264, 77%, 65%)
CMYKcmyk(46.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(30.16, 50.38, -60.17)
CIE-LCHlch(30.16, 78.48, 309.94°)
OKLaboklab(42.07% 0.0795 -0.1725)
OKLCHoklch(42.07% 0.19 294.7)
XYZxyz(11.7861, 6.2998, 37.1467)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926A7 #74A726
analogous
#2633A7 #5926A7 #9926A7
triadic
#5926A7 #A75926 #26A759
tetradic
#5926A7 #A72633 #74A726 #26A799
square
#5926A7 #A72633 #74A726 #26A799
split-complementary
#5926A7 #A79926 #33A726
monochromatic
#240F43 #3E1B75 #5926A7 #7538D2 #986ADD

Accessibility & contrast

On white

9.29
#5926A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5926A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926A7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926A7#FFFFFF#000000##FFFFFF
##5926A71.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#424965
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5926a7;
/* rgb */ color: rgb(89, 38, 167);
/* oklch */ color: oklch(42.1% 0.190 294.7);
Tailwind
colors: {
  custom: {
    50: '#9066c2',
    500: '#5926a7',
    950: '#000000',
  },
}
SCSS
$custom: #5926a7;
$custom-light: #9066c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5926a7",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 263.721,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.18993,
    "h": 294.7
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#5926A7
secondary
#9EC365
accent
#E642A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5926A7

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

Preview Lab → · Contrast checker → · Palette generator →

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