#5925B2#5925B2

#5925B2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.203 H 292.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5925B2
RGBrgb(89, 37, 178)
HSLhsl(262, 66%, 42%)
HSVhsv(262, 79%, 70%)
CMYKcmyk(50%, 79.2%, 0%, 30.2%)
CIE-LABlab(31.02, 53.71, -65.34)
CIE-LCHlch(31.02, 84.58, 309.42°)
OKLaboklab(42.98% 0.077 -0.1877)
OKLCHoklch(42.98% 0.203 292.3)
XYZxyz(12.8150, 6.6609, 42.7213)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925B2 #7EB225
analogous
#2537B2 #5925B2 #A025B2
triadic
#5925B2 #B25925 #25B259
tetradic
#5925B2 #B22537 #7EB225 #25B2A0
square
#5925B2 #B22537 #7EB225 #25B2A0
split-complementary
#5925B2 #B2A025 #37B225
monochromatic
#26104D #401A7F #5925B2 #763DD7 #9A70E1

Accessibility & contrast

On white

9.00
#5925B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5925B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925B2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925B2#FFFFFF#000000##FFFFFF
##5925B21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#3B4D6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5925b2;
/* rgb */ color: rgb(89, 37, 178);
/* oklch */ color: oklch(43.0% 0.203 292.3);
Tailwind
colors: {
  custom: {
    50: '#9166ca',
    500: '#5925b2',
    950: '#000000',
  },
}
SCSS
$custom: #5925b2;
$custom-light: #9166ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5925b2",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 262.128,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.20283,
    "h": 292.3
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#5925B2
secondary
#A6C86B
accent
#E93FAA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5925B2

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

Preview Lab → · Contrast checker → · Palette generator →

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