#5925A5#5925A5

#5925A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.189 H 295.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5925A5
RGBrgb(89, 37, 165)
HSLhsl(264, 63%, 40%)
HSVhsv(264, 78%, 65%)
CMYKcmyk(46.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.82, 50.30, -59.51)
CIE-LCHlch(29.82, 77.92, 310.21°)
OKLaboklab(41.78% 0.0808 -0.1706)
OKLCHoklch(41.78% 0.189 295.4)
XYZxyz(11.5711, 6.1633, 36.1700)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A5 #71A525
analogous
#2531A5 #5925A5 #9925A5
triadic
#5925A5 #A55925 #25A559
tetradic
#5925A5 #A52531 #71A525 #25A599
square
#5925A5 #A52531 #71A525 #25A599
split-complementary
#5925A5 #A59925 #31A525
monochromatic
#230F41 #3E1A73 #5925A5 #7535D2 #9767DD

Accessibility & contrast

On white

9.41
#5925A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5925A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925A5
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A5#FFFFFF#000000##FFFFFF
##5925A51.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#434864
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5925a5;
/* rgb */ color: rgb(89, 37, 165);
/* oklch */ color: oklch(41.8% 0.189 295.4);
Tailwind
colors: {
  custom: {
    50: '#9066c1',
    500: '#5925a5',
    950: '#000000',
  },
}
SCSS
$custom: #5925a5;
$custom-light: #9066c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a5",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 264.375,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.18876,
    "h": 295.4
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#5925A5
secondary
#9CC363
accent
#E641A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5925A5

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

Preview Lab → · Contrast checker → · Palette generator →

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