#5825B0#5825B0

#5825B0 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.201 H 292.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5825B0
RGBrgb(88, 37, 176)
HSLhsl(262, 65%, 42%)
HSVhsv(262, 79%, 69%)
CMYKcmyk(50%, 79%, 0%, 31%)
CIE-LABlab(30.72, 53.04, -64.66)
CIE-LCHlch(30.72, 83.63, 309.36°)
OKLaboklab(42.69% 0.0761 -0.1857)
OKLCHoklch(42.69% 0.201 292.3)
XYZxyz(12.5203, 6.5320, 41.6670)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825B0 #7DB025
analogous
#2538B0 #5825B0 #9E25B0
triadic
#5825B0 #B05825 #25B058
tetradic
#5825B0 #B02538 #7DB025 #25B09E
square
#5825B0 #B02538 #7DB025 #25B09E
split-complementary
#5825B0 #B09E25 #38B025
monochromatic
#25104B #3F1A7D #5825B0 #753CD6 #996FE1

Accessibility & contrast

On white

9.11
#5825B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5825B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825B0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825B0#FFFFFF#000000##FFFFFF
##5825B01.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#3B4D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5825b0;
/* rgb */ color: rgb(88, 37, 176);
/* oklch */ color: oklch(42.7% 0.201 292.3);
Tailwind
colors: {
  custom: {
    50: '#9066c9',
    500: '#5825b0',
    950: '#000000',
  },
}
SCSS
$custom: #5825b0;
$custom-light: #9066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5825b0",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 262.014,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.20065,
    "h": 292.3
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#5825B0
secondary
#A5C76A
accent
#E840AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5825B0

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

Preview Lab → · Contrast checker → · Palette generator →

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