#5925B0#5925B0

#5925B0 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.201 H 292.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5925B0
RGBrgb(89, 37, 176)
HSLhsl(262, 65%, 42%)
HSVhsv(262, 79%, 69%)
CMYKcmyk(49.4%, 79%, 0%, 31%)
CIE-LABlab(30.83, 53.18, -64.46)
CIE-LCHlch(30.83, 83.57, 309.52°)
OKLaboklab(42.8% 0.0776 -0.1851)
OKLCHoklch(42.8% 0.201 292.7)
XYZxyz(12.6157, 6.5811, 41.6714)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5925B0 #7CB025
analogous
#2537B0 #5925B0 #9F25B0
triadic
#5925B0 #B05925 #25B059
tetradic
#5925B0 #B02537 #7CB025 #25B09F
square
#5925B0 #B02537 #7CB025 #25B09F
split-complementary
#5925B0 #B09F25 #37B025
monochromatic
#26104B #3F1A7D #5925B0 #763CD6 #996FE1

Accessibility & contrast

On white

9.07
#5925B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5925B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5925B0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5925B0#FFFFFF#000000##FFFFFF
##5925B01.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#3D4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5925b0;
/* rgb */ color: rgb(89, 37, 176);
/* oklch */ color: oklch(42.8% 0.201 292.7);
Tailwind
colors: {
  custom: {
    50: '#9166c9',
    500: '#5925b0',
    950: '#000000',
  },
}
SCSS
$custom: #5925b0;
$custom-light: #9166c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5925b0",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 262.446,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.20068,
    "h": 292.7
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#5925B0
secondary
#A4C76A
accent
#E840A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5925B0

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

Preview Lab → · Contrast checker → · Palette generator →

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