#5C2DD3#5C2DD3

#5C2DD3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.231 H 286.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5C2DD3
RGBrgb(92, 45, 211)
HSLhsl(257, 65%, 50%)
HSVhsv(257, 79%, 83%)
CMYKcmyk(56.4%, 78.7%, 0%, 17.3%)
CIE-LABlab(35.70, 59.45, -77.00)
CIE-LCHlch(35.70, 97.28, 307.67°)
OKLaboklab(47.27% 0.0659 -0.2217)
OKLCHoklch(47.27% 0.231 286.6)
XYZxyz(17.1064, 8.8543, 62.4230)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2DD3 #A4D32D
analogous
#2D51D3 #5C2DD3 #AF2DD3
triadic
#5C2DD3 #D35C2D #2DD35C
tetradic
#5C2DD3 #D32D51 #A4D32D #2DD3AF
square
#5C2DD3 #D32D51 #A4D32D #2DD3AF
split-complementary
#5C2DD3 #D3AF2D #51D32D
monochromatic
#30176E #4622A1 #5C2DD3 #8360DE #AB92E8

Accessibility & contrast

On white

7.58
#5C2DD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C2DD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2DD3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2DD3#FFFFFF#000000##FFFFFF
##5C2DD31.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#225E80
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c2dd3;
/* rgb */ color: rgb(92, 45, 211);
/* oklch */ color: oklch(47.3% 0.231 286.6);
Tailwind
colors: {
  custom: {
    50: '#976de2',
    500: '#5c2dd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2dd3;
$custom-light: #976de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2dd3",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 256.988,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.23135,
    "h": 286.6
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#5C2DD3
secondary
#BED389
accent
#E83FB9
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #5C2DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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