#5925A8#5925A8

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

Color values

HEX#5925A8
RGBrgb(89, 37, 168)
HSLhsl(264, 64%, 40%)
HSVhsv(264, 78%, 66%)
CMYKcmyk(47%, 78%, 0%, 34.1%)
CIE-LABlab(30.09, 51.09, -60.88)
CIE-LCHlch(30.09, 79.47, 310.00°)
OKLaboklab(42.05% 0.08 -0.1746)
OKLCHoklch(42.05% 0.192 294.6)
XYZxyz(11.8473, 6.2738, 37.6249)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925A8 #74A825
analogous
#2532A8 #5925A8 #9A25A8
triadic
#5925A8 #A85925 #25A859
tetradic
#5925A8 #A82532 #74A825 #25A89A
square
#5925A8 #A82532 #74A825 #25A89A
split-complementary
#5925A8 #A89A25 #32A825
monochromatic
#240F44 #3E1A76 #5925A8 #7537D3 #9869DE

Accessibility & contrast

On white

9.31
#5925A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5925A8
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925A8#FFFFFF#000000##FFFFFF
##5925A81.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#424966
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5925a8;
/* rgb */ color: rgb(89, 37, 168);
/* oklch */ color: oklch(42.1% 0.192 294.6);
Tailwind
colors: {
  custom: {
    50: '#9066c3',
    500: '#5925a8',
    950: '#000000',
  },
}
SCSS
$custom: #5925a8;
$custom-light: #9066c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5925a8",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 263.817,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.19202,
    "h": 294.6
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#5925A8
secondary
#9EC465
accent
#E741A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5925A8

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

Preview Lab → · Contrast checker → · Palette generator →

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