#5825A0#5825A0

#5825A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.183 H 296.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5825A0
RGBrgb(88, 37, 160)
HSLhsl(265, 62%, 39%)
HSVhsv(265, 77%, 63%)
CMYKcmyk(45%, 76.9%, 0%, 37.3%)
CIE-LABlab(29.25, 48.84, -57.42)
CIE-LCHlch(29.25, 75.38, 310.38°)
OKLaboklab(41.22% 0.0807 -0.1645)
OKLCHoklch(41.22% 0.183 296.1)
XYZxyz(11.0295, 5.9357, 33.8155)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825A0 #6DA025
analogous
#252FA0 #5825A0 #9525A0
triadic
#5825A0 #A05825 #25A058
tetradic
#5825A0 #A0252F #6DA025 #25A095
square
#5825A0 #A0252F #6DA025 #25A095
split-complementary
#5825A0 #A09525 #2FA025
monochromatic
#210E3D #3D1A6E #5825A0 #7432D0 #9664DB

Accessibility & contrast

On white

9.60
#5825A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5825A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825A0
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825A0#FFFFFF#000000##FFFFFF
##5825A01.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#444661
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5825a0;
/* rgb */ color: rgb(88, 37, 160);
/* oklch */ color: oklch(41.2% 0.183 296.1);
Tailwind
colors: {
  custom: {
    50: '#8e65bd',
    500: '#5825a0',
    950: '#000000',
  },
}
SCSS
$custom: #5825a0;
$custom-light: #8e65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5825a0",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 264.878,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.18321,
    "h": 296.1
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#5825A0
secondary
#99C160
accent
#E642A2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5825A0

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

Preview Lab → · Contrast checker → · Palette generator →

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