#5925A2#5925A2

#5925A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.185 H 296.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5925A2
RGBrgb(89, 37, 162)
HSLhsl(265, 63%, 39%)
HSVhsv(265, 77%, 64%)
CMYKcmyk(45.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(29.55, 49.52, -58.14)
CIE-LCHlch(29.55, 76.37, 310.42°)
OKLaboklab(41.51% 0.0817 -0.1665)
OKLCHoklch(41.51% 0.185 296.1)
XYZxyz(11.3012, 6.0554, 34.7488)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A2 #6EA225
analogous
#2530A2 #5925A2 #9825A2
triadic
#5925A2 #A25925 #25A259
tetradic
#5925A2 #A22530 #6EA225 #25A298
square
#5925A2 #A22530 #6EA225 #25A298
split-complementary
#5925A2 #A29825 #30A225
monochromatic
#220E3E #3E1A70 #5925A2 #7534D1 #9765DC

Accessibility & contrast

On white

9.50
#5925A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5925A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925A2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A2#FFFFFF#000000##FFFFFF
##5925A21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#454762
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5925a2;
/* rgb */ color: rgb(89, 37, 162);
/* oklch */ color: oklch(41.5% 0.185 296.1);
Tailwind
colors: {
  custom: {
    50: '#8f65bf',
    500: '#5925a2',
    950: '#000000',
  },
}
SCSS
$custom: #5925a2;
$custom-light: #8f65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a2",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 264.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.18549,
    "h": 296.1
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#5925A2
secondary
#99C261
accent
#E642A2
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5925A2

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

Preview Lab → · Contrast checker → · Palette generator →

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