#5825A8#5825A8

#5825A8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.192 H 294.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5825A8
RGBrgb(88, 37, 168)
HSLhsl(263, 64%, 40%)
HSVhsv(263, 78%, 66%)
CMYKcmyk(47.6%, 78%, 0%, 34.1%)
CIE-LABlab(29.97, 50.94, -61.08)
CIE-LCHlch(29.97, 79.53, 309.83°)
OKLaboklab(41.94% 0.0785 -0.1752)
OKLCHoklch(41.94% 0.192 294.1)
XYZxyz(11.7520, 6.2246, 37.6205)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825A8 #75A825
analogous
#2533A8 #5825A8 #9925A8
triadic
#5825A8 #A85825 #25A858
tetradic
#5825A8 #A82533 #75A825 #25A899
square
#5825A8 #A82533 #75A825 #25A899
split-complementary
#5825A8 #A89925 #33A825
monochromatic
#230F44 #3E1A76 #5825A8 #7437D3 #9769DE

Accessibility & contrast

On white

9.35
#5825A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5825A8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825A8#FFFFFF#000000##FFFFFF
##5825A81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#404966
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5825a8;
/* rgb */ color: rgb(88, 37, 168);
/* oklch */ color: oklch(41.9% 0.192 294.1);
Tailwind
colors: {
  custom: {
    50: '#8f66c3',
    500: '#5825a8',
    950: '#000000',
  },
}
SCSS
$custom: #5825a8;
$custom-light: #8f66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5825a8",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 263.359,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.19196,
    "h": 294.1
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#5825A8
secondary
#9FC465
accent
#E741A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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