#5C2FC9#5C2FC9

#5C2FC9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.219 H 288.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5C2FC9
RGBrgb(92, 47, 201)
HSLhsl(258, 62%, 49%)
HSVhsv(258, 77%, 79%)
CMYKcmyk(54.2%, 76.6%, 0%, 21.2%)
CIE-LABlab(35.05, 55.85, -72.27)
CIE-LCHlch(35.05, 91.33, 307.70°)
OKLaboklab(46.53% 0.0676 -0.2079)
OKLCHoklch(46.53% 0.219 288)
XYZxyz(15.9696, 8.5246, 56.0509)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FC9 #9CC92F
analogous
#2F4FC9 #5C2FC9 #A92FC9
triadic
#5C2FC9 #C95C2F #2FC95C
tetradic
#5C2FC9 #C92F4F #9CC92F #2FC9A9
square
#5C2FC9 #C92F4F #9CC92F #2FC9A9
split-complementary
#5C2FC9 #C9A92F #4FC92F
monochromatic
#2F1866 #452397 #5C2FC9 #815CD9 #A78EE5

Accessibility & contrast

On white

7.76
#5C2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FC9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FC9#FFFFFF#000000##FFFFFF
##5C2FC91.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#2E5B7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c2fc9;
/* rgb */ color: rgb(92, 47, 201);
/* oklch */ color: oklch(46.5% 0.219 288.0);
Tailwind
colors: {
  custom: {
    50: '#966ddb',
    500: '#5c2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fc9;
$custom-light: #966ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fc9",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 257.532,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.21862,
    "h": 288
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#5C2FC9
secondary
#B9CF85
accent
#E543B6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5C2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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