#5825A5#5825A5

#5825A5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.189 H 294.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5825A5
RGBrgb(88, 37, 165)
HSLhsl(264, 63%, 40%)
HSVhsv(264, 78%, 65%)
CMYKcmyk(46.7%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.70, 50.15, -59.72)
CIE-LCHlch(29.70, 77.98, 310.02°)
OKLaboklab(41.67% 0.0793 -0.1712)
OKLCHoklch(41.67% 0.189 294.9)
XYZxyz(11.4758, 6.1141, 36.1655)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825A5 #72A525
analogous
#2532A5 #5825A5 #9825A5
triadic
#5825A5 #A55825 #25A558
tetradic
#5825A5 #A52532 #72A525 #25A598
square
#5825A5 #A52532 #72A525 #25A598
split-complementary
#5825A5 #A59825 #32A525
monochromatic
#230F41 #3D1A73 #5825A5 #7435D2 #9667DD

Accessibility & contrast

On white

9.45
#5825A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5825A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825A5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825A5#FFFFFF#000000##FFFFFF
##5825A51.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#424864
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5825a5;
/* rgb */ color: rgb(88, 37, 165);
/* oklch */ color: oklch(41.7% 0.189 294.9);
Tailwind
colors: {
  custom: {
    50: '#8f66c1',
    500: '#5825a5',
    950: '#000000',
  },
}
SCSS
$custom: #5825a5;
$custom-light: #8f66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5825a5",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 263.906,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41667,
    "c": 0.18869,
    "h": 294.9
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#5825A5
secondary
#9DC363
accent
#E641A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5825A5

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

Preview Lab → · Contrast checker → · Palette generator →

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