#5929AF#5929AF

#5929AF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.196 H 292.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#5929AF
RGBrgb(89, 41, 175)
HSLhsl(261, 62%, 42%)
HSVhsv(261, 77%, 69%)
CMYKcmyk(49.1%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.36, 51.15, -63.00)
CIE-LCHlch(31.36, 81.15, 309.07°)
OKLaboklab(43.13% 0.0748 -0.1808)
OKLCHoklch(43.13% 0.196 292.5)
XYZxyz(12.6485, 6.8044, 41.1961)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5929AF #7FAF29
analogous
#293CAF #5929AF #9C29AF
triadic
#5929AF #AF5929 #29AF59
tetradic
#5929AF #AF293C #7FAF29 #29AF9C
square
#5929AF #AF293C #7FAF29 #29AF9C
split-complementary
#5929AF #AF9C29 #3CAF29
monochromatic
#27124C #401D7D #5929AF #7642D3 #9A74DE

Accessibility & contrast

On white

8.89
#5929AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5929AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5929AF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5929AF#FFFFFF#000000##FFFFFF
##5929AF1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#3D4E6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5929af;
/* rgb */ color: rgb(89, 41, 175);
/* oklch */ color: oklch(43.1% 0.196 292.5);
Tailwind
colors: {
  custom: {
    50: '#9168c8',
    500: '#5929af',
    950: '#000000',
  },
}
SCSS
$custom: #5929af;
$custom-light: #9168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5929af",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 261.493,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.1957,
    "h": 292.5
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#5929AF
secondary
#A6C66E
accent
#E543AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5929AF

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

Preview Lab → · Contrast checker → · Palette generator →

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