#5825A9#5825A9

#5825A9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.193 H 293.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5825A9
RGBrgb(88, 37, 169)
HSLhsl(263, 64%, 40%)
HSVhsv(263, 78%, 66%)
CMYKcmyk(47.9%, 78.1%, 0%, 33.7%)
CIE-LABlab(30.06, 51.20, -61.53)
CIE-LCHlch(30.06, 80.05, 309.76°)
OKLaboklab(42.03% 0.0782 -0.1765)
OKLCHoklch(42.03% 0.193 293.9)
XYZxyz(11.8455, 6.2620, 38.1130)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825A9 #76A925
analogous
#2534A9 #5825A9 #9A25A9
triadic
#5825A9 #A95825 #25A958
tetradic
#5825A9 #A92534 #76A925 #25A99A
square
#5825A9 #A92534 #76A925 #25A99A
split-complementary
#5825A9 #A99A25 #34A925
monochromatic
#240F45 #3E1A77 #5825A9 #7438D3 #976ADE

Accessibility & contrast

On white

9.32
#5825A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5825A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825A9
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825A9#FFFFFF#000000##FFFFFF
##5825A91.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#3F4A66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5825a9;
/* rgb */ color: rgb(88, 37, 169);
/* oklch */ color: oklch(42.0% 0.193 293.9);
Tailwind
colors: {
  custom: {
    50: '#8f66c4',
    500: '#5825a9',
    950: '#000000',
  },
}
SCSS
$custom: #5825a9;
$custom-light: #8f66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5825a9",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 263.182,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.19305,
    "h": 293.9
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#5825A9
secondary
#A0C465
accent
#E741A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5825A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5825A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva