#5925A0#5925A0

#5925A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.183 H 296.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5925A0
RGBrgb(89, 37, 160)
HSLhsl(265, 62%, 39%)
HSVhsv(265, 77%, 63%)
CMYKcmyk(44.4%, 76.9%, 0%, 37.3%)
CIE-LABlab(29.37, 49.00, -57.22)
CIE-LCHlch(29.37, 75.33, 310.58°)
OKLaboklab(41.33% 0.0822 -0.1638)
OKLCHoklch(41.33% 0.183 296.7)
XYZxyz(11.1249, 5.9848, 33.8199)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A0 #6CA025
analogous
#252EA0 #5925A0 #9625A0
triadic
#5925A0 #A05925 #25A059
tetradic
#5925A0 #A0252E #6CA025 #25A096
square
#5925A0 #A0252E #6CA025 #25A096
split-complementary
#5925A0 #A09625 #2EA025
monochromatic
#220E3D #3D1A6E #5925A0 #7532D0 #9764DB

Accessibility & contrast

On white

9.56
#5925A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5925A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925A0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A0#FFFFFF#000000##FFFFFF
##5925A01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#464661
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5925a0;
/* rgb */ color: rgb(89, 37, 160);
/* oklch */ color: oklch(41.3% 0.183 296.7);
Tailwind
colors: {
  custom: {
    50: '#8f65bd',
    500: '#5925a0',
    950: '#000000',
  },
}
SCSS
$custom: #5925a0;
$custom-light: #8f65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a0",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 265.366,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.1833,
    "h": 296.7
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#5925A0
secondary
#98C160
accent
#E642A1
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5925A0

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

Preview Lab → · Contrast checker → · Palette generator →

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