#5C2FB3#5C2FB3

#5C2FB3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.194 H 292.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5C2FB3
RGBrgb(92, 47, 179)
HSLhsl(260, 58%, 44%)
HSVhsv(260, 74%, 70%)
CMYKcmyk(48.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(33.05, 49.85, -62.59)
CIE-LCHlch(33.05, 80.02, 308.53°)
OKLaboklab(44.51% 0.0733 -0.1796)
OKLCHoklch(44.51% 0.194 292.2)
XYZxyz(13.5645, 7.5625, 43.3841)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FB3 #86B32F
analogous
#2F44B3 #5C2FB3 #9E2FB3
triadic
#5C2FB3 #B35C2F #2FB35C
tetradic
#5C2FB3 #B32F44 #86B32F #2FB39E
square
#5C2FB3 #B32F44 #86B32F #2FB39E
split-complementary
#5C2FB3 #B39E2F #44B32F
monochromatic
#2A1652 #432283 #5C2FB3 #7B4FD1 #9F7FDD

Accessibility & contrast

On white

8.36
#5C2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5C2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FB3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FB3#FFFFFF#000000##FFFFFF
##5C2FB31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#40526E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2fb3;
/* rgb */ color: rgb(92, 47, 179);
/* oklch */ color: oklch(44.5% 0.194 292.2);
Tailwind
colors: {
  custom: {
    50: '#936ccb',
    500: '#5c2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fb3;
$custom-light: #936ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fb3",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 260.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.19395,
    "h": 292.2
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#5C2FB3
secondary
#ABC678
accent
#E246AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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