#5926AF#5926AF

#5926AF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.199 H 292.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#5926AF
RGBrgb(89, 38, 175)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(49.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.89, 52.49, -63.77)
CIE-LCHlch(30.89, 82.59, 309.46°)
OKLaboklab(42.81% 0.0772 -0.1831)
OKLCHoklch(42.81% 0.199 292.9)
XYZxyz(12.5486, 6.6048, 41.1628)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926AF #7CAF26
analogous
#2638AF #5926AF #9E26AF
triadic
#5926AF #AF5926 #26AF59
tetradic
#5926AF #AF2638 #7CAF26 #26AF9E
square
#5926AF #AF2638 #7CAF26 #26AF9E
split-complementary
#5926AF #AF9E26 #38AF26
monochromatic
#26104A #3F1B7D #5926AF #763DD5 #9970E0

Accessibility & contrast

On white

9.05
#5926AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5926AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926AF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926AF#FFFFFF#000000##FFFFFF
##5926AF1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#3D4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5926af;
/* rgb */ color: rgb(89, 38, 175);
/* oklch */ color: oklch(42.8% 0.199 292.9);
Tailwind
colors: {
  custom: {
    50: '#9167c8',
    500: '#5926af',
    950: '#000000',
  },
}
SCSS
$custom: #5926af;
$custom-light: #9167c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5926af",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 262.336,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.19865,
    "h": 292.9
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#5926AF
secondary
#A4C76A
accent
#E740A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5926AF

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

Preview Lab → · Contrast checker → · Palette generator →

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