#5D2FBF#5D2FBF

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

Color values

HEX#5D2FBF
RGBrgb(93, 47, 191)
HSLhsl(259, 61%, 47%)
HSVhsv(259, 75%, 75%)
CMYKcmyk(51.3%, 75.4%, 0%, 25.1%)
CIE-LABlab(34.23, 53.27, -67.75)
CIE-LCHlch(34.23, 86.19, 308.17°)
OKLaboklab(45.7% 0.0718 -0.1947)
OKLCHoklch(45.7% 0.207 290.2)
XYZxyz(14.9320, 8.1211, 50.0609)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2FBF #91BF2F
analogous
#2F49BF #5D2FBF #A52FBF
triadic
#5D2FBF #BF5D2F #2FBF5D
tetradic
#5D2FBF #BF2F49 #91BF2F #2FBFA5
square
#5D2FBF #BF2F49 #91BF2F #2FBFA5
split-complementary
#5D2FBF #BFA52F #49BF2F
monochromatic
#2D175D #45238E #5D2FBF #7F56D5 #A487E1

Accessibility & contrast

On white

8.00
#5D2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2FBF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2FBF#FFFFFF#000000##FFFFFF
##5D2FBF1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2fbf;
/* rgb */ color: rgb(93, 47, 191);
/* oklch */ color: oklch(45.7% 0.207 290.2);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5d2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d2fbf;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2fbf",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 259.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.20747,
    "h": 290.2
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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