#5C2FBF#5C2FBF

#5C2FBF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.207 H 289.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5C2FBF
RGBrgb(92, 47, 191)
HSLhsl(259, 61%, 47%)
HSVhsv(259, 75%, 75%)
CMYKcmyk(51.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(34.13, 53.12, -67.93)
CIE-LCHlch(34.13, 86.24, 308.02°)
OKLaboklab(45.6% 0.0703 -0.1952)
OKLCHoklch(45.6% 0.207 289.8)
XYZxyz(14.8314, 8.0693, 50.0562)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FBF #92BF2F
analogous
#2F4ABF #5C2FBF #A42FBF
triadic
#5C2FBF #BF5C2F #2FBF5C
tetradic
#5C2FBF #BF2F4A #92BF2F #2FBFA4
square
#5C2FBF #BF2F4A #92BF2F #2FBFA4
split-complementary
#5C2FBF #BFA42F #4ABF2F
monochromatic
#2D175D #44238E #5C2FBF #7E56D5 #A387E1

Accessibility & contrast

On white

8.03
#5C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FBF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FBF#FFFFFF#000000##FFFFFF
##5C2FBF1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#385775
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c2fbf;
/* rgb */ color: rgb(92, 47, 191);
/* oklch */ color: oklch(45.6% 0.207 289.8);
Tailwind
colors: {
  custom: {
    50: '#946dd3',
    500: '#5c2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fbf;
$custom-light: #946dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fbf",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 258.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.20749,
    "h": 289.8
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#5C2FBF
secondary
#B3CB7F
accent
#E444B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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