#5C2FD3#5C2FD3

#5C2FD3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.230 H 286.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5C2FD3
RGBrgb(92, 47, 211)
HSLhsl(256, 65%, 51%)
HSVhsv(256, 78%, 83%)
CMYKcmyk(56.4%, 77.7%, 0%, 17.3%)
CIE-LABlab(36.00, 58.57, -76.51)
CIE-LCHlch(36.00, 96.35, 307.44°)
OKLaboklab(47.48% 0.0647 -0.2203)
OKLCHoklch(47.48% 0.23 286.4)
XYZxyz(17.1845, 9.0105, 62.4491)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FD3 #A6D32F
analogous
#2F54D3 #5C2FD3 #AE2FD3
triadic
#5C2FD3 #D35C2F #2FD35C
tetradic
#5C2FD3 #D32F54 #A6D32F #2FD3AE
square
#5C2FD3 #D32F54 #A6D32F #2FD3AE
split-complementary
#5C2FD3 #D3AE2F #54D32F
monochromatic
#301870 #4622A2 #5C2FD3 #8462DE #AB94E8

Accessibility & contrast

On white

7.49
#5C2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5C2FD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FD3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FD3#FFFFFF#000000##FFFFFF
##5C2FD31.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D8
Deuteranopia (green-blind)
#0050D0
Tritanopia (blue-blind)
#225F81
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c2fd3;
/* rgb */ color: rgb(92, 47, 211);
/* oklch */ color: oklch(47.5% 0.230 286.4);
Tailwind
colors: {
  custom: {
    50: '#976ee2',
    500: '#5c2fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fd3;
$custom-light: #976ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fd3",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 256.463,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.22961,
    "h": 286.4
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#5C2FD3
secondary
#BFD38A
accent
#E840BA
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #5C2FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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