#5C25AE#5C25AE

#5C25AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.199 H 294.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5C25AE
RGBrgb(92, 37, 174)
HSLhsl(264, 65%, 41%)
HSVhsv(264, 79%, 68%)
CMYKcmyk(47.1%, 78.7%, 0%, 31.8%)
CIE-LABlab(31.01, 53.09, -62.97)
CIE-LCHlch(31.01, 82.36, 310.14°)
OKLaboklab(42.94% 0.0828 -0.1806)
OKLCHoklch(42.94% 0.199 294.6)
XYZxyz(12.7131, 6.6541, 40.6507)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C25AE #77AE25
analogous
#2532AE #5C25AE #A125AE
triadic
#5C25AE #AE5C25 #25AE5C
tetradic
#5C25AE #AE2532 #77AE25 #25AEA1
square
#5C25AE #AE2532 #77AE25 #25AEA1
split-complementary
#5C25AE #AEA125 #32AE25
monochromatic
#271049 #411A7C #5C25AE #793BD5 #9B6DE0

Accessibility & contrast

On white

9.01
#5C25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C25AE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C25AE#FFFFFF#000000##FFFFFF
##5C25AE1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#444B69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c25ae;
/* rgb */ color: rgb(92, 37, 174);
/* oklch */ color: oklch(42.9% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#9366c7',
    500: '#5c25ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c25ae;
$custom-light: #9366c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c25ae",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 264.088,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.19867,
    "h": 294.6
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#5C25AE
secondary
#A1C668
accent
#E840A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C25AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5C25AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva