#5C25B0#5C25B0

#5C25B0 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.201 H 294.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5C25B0
RGBrgb(92, 37, 176)
HSLhsl(264, 65%, 42%)
HSVhsv(264, 79%, 69%)
CMYKcmyk(47.7%, 79%, 0%, 31%)
CIE-LABlab(31.19, 53.61, -63.86)
CIE-LCHlch(31.19, 83.38, 310.01°)
OKLaboklab(43.12% 0.0822 -0.1832)
OKLCHoklch(43.12% 0.201 294.2)
XYZxyz(12.9095, 6.7326, 41.6852)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C25B0 #79B025
analogous
#2534B0 #5C25B0 #A225B0
triadic
#5C25B0 #B05C25 #25B05C
tetradic
#5C25B0 #B02534 #79B025 #25B0A2
square
#5C25B0 #B02534 #79B025 #25B0A2
split-complementary
#5C25B0 #B0A225 #34B025
monochromatic
#27104B #421A7D #5C25B0 #793CD6 #9C6FE1

Accessibility & contrast

On white

8.95
#5C25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C25B0
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C25B0#FFFFFF#000000##FFFFFF
##5C25B01.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#434C6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c25b0;
/* rgb */ color: rgb(92, 37, 176);
/* oklch */ color: oklch(43.1% 0.201 294.2);
Tailwind
colors: {
  custom: {
    50: '#9367c9',
    500: '#5c25b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c25b0;
$custom-light: #9367c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c25b0",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 263.741,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.20081,
    "h": 294.2
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#5C25B0
secondary
#A2C76A
accent
#E840A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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