#5D2FBE#5D2FBE

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

Color values

HEX#5D2FBE
RGBrgb(93, 47, 190)
HSLhsl(259, 60%, 46%)
HSVhsv(259, 75%, 75%)
CMYKcmyk(51.1%, 75.3%, 0%, 25.5%)
CIE-LABlab(34.14, 52.99, -67.31)
CIE-LCHlch(34.14, 85.67, 308.21°)
OKLaboklab(45.61% 0.072 -0.1934)
OKLCHoklch(45.61% 0.206 290.4)
XYZxyz(14.8223, 8.0773, 49.4833)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FBE #90BE2F
analogous
#2F48BE #5D2FBE #A52FBE
triadic
#5D2FBE #BE5D2F #2FBE5D
tetradic
#5D2FBE #BE2F48 #90BE2F #2FBEA5
square
#5D2FBE #BE2F48 #90BE2F #2FBEA5
split-complementary
#5D2FBE #BEA52F #48BE2F
monochromatic
#2D175C #45238D #5D2FBE #7E55D5 #A386E1

Accessibility & contrast

On white

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

On black

2.62
#5D2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D2FBE#FFFFFF#000000##FFFFFF
##5D2FBE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#3B5675
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d2fbe;
/* rgb */ color: rgb(93, 47, 190);
/* oklch */ color: oklch(45.6% 0.206 290.4);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5d2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fbe;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fbe",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 259.301,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.20636,
    "h": 290.4
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#5D2FBE
secondary
#B2CB7E
accent
#E344B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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