#5925A7#5925A7

#5925A7 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.191 H 294.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5925A7
RGBrgb(89, 37, 167)
HSLhsl(264, 64%, 40%)
HSVhsv(264, 78%, 65%)
CMYKcmyk(46.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(30.00, 50.83, -60.42)
CIE-LCHlch(30.00, 78.96, 310.07°)
OKLaboklab(41.96% 0.0803 -0.1732)
OKLCHoklch(41.96% 0.191 294.9)
XYZxyz(11.7545, 6.2367, 37.1362)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A7 #73A725
analogous
#2532A7 #5925A7 #9A25A7
triadic
#5925A7 #A75925 #25A759
tetradic
#5925A7 #A72532 #73A725 #25A79A
square
#5925A7 #A72532 #73A725 #25A79A
split-complementary
#5925A7 #A79A25 #32A725
monochromatic
#240F43 #3E1A75 #5925A7 #7537D3 #9869DE

Accessibility & contrast

On white

9.34
#5925A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5925A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925A7
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A7#FFFFFF#000000##FFFFFF
##5925A71.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.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: #5925a7;
/* rgb */ color: rgb(89, 37, 167);
/* oklch */ color: oklch(42.0% 0.191 294.9);
Tailwind
colors: {
  custom: {
    50: '#9066c2',
    500: '#5925a7',
    950: '#000000',
  },
}
SCSS
$custom: #5925a7;
$custom-light: #9066c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a7",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 264,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.19093,
    "h": 294.9
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#5925A7
secondary
#9DC464
accent
#E741A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5925A7

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

Preview Lab → · Contrast checker → · Palette generator →

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