#5825AE#5825AE

#5825AE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.198 H 292.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5825AE
RGBrgb(88, 37, 174)
HSLhsl(262, 65%, 41%)
HSVhsv(262, 79%, 68%)
CMYKcmyk(49.4%, 78.7%, 0%, 31.8%)
CIE-LABlab(30.53, 52.51, -63.77)
CIE-LCHlch(30.53, 82.61, 309.47°)
OKLaboklab(42.5% 0.0767 -0.1831)
OKLCHoklch(42.5% 0.198 292.7)
XYZxyz(12.3239, 6.4534, 40.6325)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825AE #7BAE25
analogous
#2536AE #5825AE #9D25AE
triadic
#5825AE #AE5825 #25AE58
tetradic
#5825AE #AE2536 #7BAE25 #25AE9D
square
#5825AE #AE2536 #7BAE25 #25AE9D
split-complementary
#5825AE #AE9D25 #36AE25
monochromatic
#251049 #3E1A7C #5825AE #743BD5 #986DE0

Accessibility & contrast

On white

9.17
#5825AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5825AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825AE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825AE#FFFFFF#000000##FFFFFF
##5825AE1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#3C4C69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5825ae;
/* rgb */ color: rgb(88, 37, 174);
/* oklch */ color: oklch(42.5% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#9066c7',
    500: '#5825ae',
    950: '#000000',
  },
}
SCSS
$custom: #5825ae;
$custom-light: #9066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5825ae",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 262.336,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.425,
    "c": 0.19849,
    "h": 292.7
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#5825AE
secondary
#A3C668
accent
#E840A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5825AE

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

Preview Lab → · Contrast checker → · Palette generator →

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