#5C2FBD#5C2FBD

#5C2FBD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.205 H 290.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5C2FBD
RGBrgb(92, 47, 189)
HSLhsl(259, 60%, 46%)
HSVhsv(259, 75%, 74%)
CMYKcmyk(51.3%, 75.1%, 0%, 25.9%)
CIE-LABlab(33.95, 52.58, -67.05)
CIE-LCHlch(33.95, 85.21, 308.10°)
OKLaboklab(45.41% 0.0708 -0.1926)
OKLCHoklch(45.41% 0.205 290.2)
XYZxyz(14.6128, 7.9818, 48.9049)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FBD #90BD2F
analogous
#2F49BD #5C2FBD #A32FBD
triadic
#5C2FBD #BD5C2F #2FBD5C
tetradic
#5C2FBD #BD2F49 #90BD2F #2FBDA3
square
#5C2FBD #BD2F49 #90BD2F #2FBDA3
split-complementary
#5C2FBD #BDA32F #49BD2F
monochromatic
#2C175B #44238C #5C2FBD #7D55D5 #A286E1

Accessibility & contrast

On white

8.09
#5C2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FBD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FBD#FFFFFF#000000##FFFFFF
##5C2FBD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#395674
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c2fbd;
/* rgb */ color: rgb(92, 47, 189);
/* oklch */ color: oklch(45.4% 0.205 290.2);
Tailwind
colors: {
  custom: {
    50: '#946cd2',
    500: '#5c2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fbd;
$custom-light: #946cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fbd",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 259.014,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.20524,
    "h": 290.2
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#5C2FBD
secondary
#B2CA7E
accent
#E344B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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