#5C2FB2#5C2FB2

#5C2FB2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.193 H 292.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5C2FB2
RGBrgb(92, 47, 178)
HSLhsl(261, 58%, 44%)
HSVhsv(261, 74%, 70%)
CMYKcmyk(48.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(32.97, 49.58, -62.14)
CIE-LCHlch(32.97, 79.49, 308.58°)
OKLaboklab(44.43% 0.0735 -0.1782)
OKLCHoklch(44.43% 0.193 292.4)
XYZxyz(13.4638, 7.5222, 42.8534)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FB2 #85B22F
analogous
#2F44B2 #5C2FB2 #9E2FB2
triadic
#5C2FB2 #B25C2F #2FB25C
tetradic
#5C2FB2 #B22F44 #85B22F #2FB29E
square
#5C2FB2 #B22F44 #85B22F #2FB29E
split-complementary
#5C2FB2 #B29E2F #44B22F
monochromatic
#2A1551 #432282 #5C2FB2 #7B4ED0 #9F7EDD

Accessibility & contrast

On white

8.38
#5C2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FB2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FB2#FFFFFF#000000##FFFFFF
##5C2FB21.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#41526E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2fb2;
/* rgb */ color: rgb(92, 47, 178);
/* oklch */ color: oklch(44.4% 0.193 292.4);
Tailwind
colors: {
  custom: {
    50: '#926cca',
    500: '#5c2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fb2;
$custom-light: #926cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fb2",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 260.611,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.19281,
    "h": 292.4
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#5C2FB2
secondary
#ABC677
accent
#E146AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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