#5C2DBC#5C2DBC

#5C2DBC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.206 H 290.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5C2DBC
RGBrgb(92, 45, 188)
HSLhsl(260, 61%, 46%)
HSVhsv(260, 76%, 74%)
CMYKcmyk(51.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(33.53, 53.24, -67.15)
CIE-LCHlch(33.53, 85.70, 308.41°)
OKLaboklab(45.09% 0.0726 -0.1929)
OKLCHoklch(45.09% 0.206 290.6)
XYZxyz(14.4265, 7.7823, 48.3092)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2DBC #8DBC2D
analogous
#2D46BC #5C2DBC #A32DBC
triadic
#5C2DBC #BC5C2D #2DBC5C
tetradic
#5C2DBC #BC2D46 #8DBC2D #2DBCA3
square
#5C2DBC #BC2D46 #8DBC2D #2DBCA3
split-complementary
#5C2DBC #BCA32D #46BC2D
monochromatic
#2C1559 #44218B #5C2DBC #7C51D5 #A182E1

Accessibility & contrast

On white

8.21
#5C2DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C2DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2DBC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2DBC#FFFFFF#000000##FFFFFF
##5C2DBC1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#3A5573
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c2dbc;
/* rgb */ color: rgb(92, 45, 188);
/* oklch */ color: oklch(45.1% 0.206 290.6);
Tailwind
colors: {
  custom: {
    50: '#946bd1',
    500: '#5c2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #5c2dbc;
$custom-light: #946bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2dbc",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 259.72,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45091,
    "c": 0.20614,
    "h": 290.6
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#5C2DBC
secondary
#B0CA7B
accent
#E443B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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