#5925A9#5925A9

#5925A9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.193 H 294.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5925A9
RGBrgb(89, 37, 169)
HSLhsl(264, 64%, 40%)
HSVhsv(264, 78%, 66%)
CMYKcmyk(47.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(30.18, 51.35, -61.33)
CIE-LCHlch(30.18, 79.99, 309.94°)
OKLaboklab(42.15% 0.0797 -0.1759)
OKLCHoklch(42.15% 0.193 294.4)
XYZxyz(11.9409, 6.3112, 38.1175)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A9 #75A925
analogous
#2533A9 #5925A9 #9B25A9
triadic
#5925A9 #A95925 #25A959
tetradic
#5925A9 #A92533 #75A925 #25A99B
square
#5925A9 #A92533 #75A925 #25A99B
split-complementary
#5925A9 #A99B25 #33A925
monochromatic
#240F45 #3F1A77 #5925A9 #7538D3 #986ADE

Accessibility & contrast

On white

9.28
#5925A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5925A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925A9
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A9#FFFFFF#000000##FFFFFF
##5925A91.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#414A66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5925a9;
/* rgb */ color: rgb(89, 37, 169);
/* oklch */ color: oklch(42.1% 0.193 294.4);
Tailwind
colors: {
  custom: {
    50: '#9066c4',
    500: '#5925a9',
    950: '#000000',
  },
}
SCSS
$custom: #5925a9;
$custom-light: #9066c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a9",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 263.636,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.19311,
    "h": 294.4
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#5925A9
secondary
#9FC465
accent
#E741A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5925A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5925A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva