#5C2DB3#5C2DB3

#5C2DB3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.196 H 292.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5C2DB3
RGBrgb(92, 45, 179)
HSLhsl(261, 60%, 44%)
HSVhsv(261, 75%, 70%)
CMYKcmyk(48.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(32.71, 50.81, -63.15)
CIE-LCHlch(32.71, 81.05, 308.82°)
OKLaboklab(44.27% 0.075 -0.1812)
OKLCHoklch(44.27% 0.196 292.5)
XYZxyz(13.4864, 7.4063, 43.3580)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2DB3 #84B32D
analogous
#2D41B3 #5C2DB3 #9F2DB3
triadic
#5C2DB3 #B35C2D #2DB35C
tetradic
#5C2DB3 #B32D41 #84B32D #2DB39F
square
#5C2DB3 #B32D41 #84B32D #2DB39F
split-complementary
#5C2DB3 #B39F2D #41B32D
monochromatic
#2A1451 #432182 #5C2DB3 #7B4BD2 #9F7CDE

Accessibility & contrast

On white

8.46
#5C2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5C2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2DB3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2DB3#FFFFFF#000000##FFFFFF
##5C2DB31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#40516E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2db3;
/* rgb */ color: rgb(92, 45, 179);
/* oklch */ color: oklch(44.3% 0.196 292.5);
Tailwind
colors: {
  custom: {
    50: '#936bcb',
    500: '#5c2db3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2db3;
$custom-light: #936bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2db3",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 261.045,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.1961,
    "h": 292.5
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#5C2DB3
secondary
#AAC775
accent
#E345AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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