#5825BC#5825BC

#5825BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.214 H 289.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5825BC
RGBrgb(88, 37, 188)
HSLhsl(260, 67%, 44%)
HSVhsv(260, 80%, 74%)
CMYKcmyk(53.2%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.87, 56.21, -69.89)
CIE-LCHlch(31.87, 89.69, 308.81°)
OKLaboklab(43.84% 0.0722 -0.201)
OKLCHoklch(43.84% 0.214 289.8)
XYZxyz(13.7605, 7.0280, 48.1987)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5825BC #89BC25
analogous
#253EBC #5825BC #A425BC
triadic
#5825BC #BC5825 #25BC58
tetradic
#5825BC #BC253E #89BC25 #25BCA4
square
#5825BC #BC253E #89BC25 #25BCA4
split-complementary
#5825BC #BCA425 #3EBC25
monochromatic
#281156 #401B89 #5825BC #7744DA #9C77E4

Accessibility & contrast

On white

8.73
#5825BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5825BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5825BC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5825BC#FFFFFF#000000##FFFFFF
##5825BC1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#315271
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5825bc;
/* rgb */ color: rgb(88, 37, 188);
/* oklch */ color: oklch(43.8% 0.214 289.8);
Tailwind
colors: {
  custom: {
    50: '#9267d1',
    500: '#5825bc',
    950: '#000000',
  },
}
SCSS
$custom: #5825bc;
$custom-light: #9267d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5825bc",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 260.265,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.21357,
    "h": 289.8
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#5825BC
secondary
#ADCC71
accent
#EA3EB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5825BC

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

Preview Lab → · Contrast checker → · Palette generator →

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