#5C1EB3#5C1EB3

#5C1EB3 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.210 H 294.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5C1EB3
RGBrgb(92, 30, 179)
HSLhsl(265, 71%, 41%)
HSVhsv(265, 83%, 70%)
CMYKcmyk(48.6%, 83.2%, 0%, 29.8%)
CIE-LABlab(30.54, 57.09, -66.72)
CIE-LCHlch(30.54, 87.81, 310.55°)
OKLaboklab(42.76% 0.086 -0.1915)
OKLCHoklch(42.76% 0.21 294.2)
XYZxyz(13.0123, 6.4581, 43.2000)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1EB3 #75B31E
analogous
#1E2BB3 #5C1EB3 #A61EB3
triadic
#5C1EB3 #B35C1E #1EB35C
tetradic
#5C1EB3 #B31E2B #75B31E #1EB3A6
square
#5C1EB3 #B31E2B #75B31E #1EB3A6
split-complementary
#5C1EB3 #B3A61E #2BB31E
monochromatic
#260C4A #41157F #5C1EB3 #7932DD #9B66E5

Accessibility & contrast

On white

9.16
#5C1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5C1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1EB3
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1EB3#FFFFFF#000000##FFFFFF
##5C1EB31.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#414B6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c1eb3;
/* rgb */ color: rgb(92, 30, 179);
/* oklch */ color: oklch(42.8% 0.210 294.2);
Tailwind
colors: {
  custom: {
    50: '#9464cb',
    500: '#5c1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c1eb3;
$custom-light: #9464cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1eb3",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 264.966,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.20994,
    "h": 294.2
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#5C1EB3
secondary
#9FCB62
accent
#EE3AA3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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