#5F39AE#5F39AE

#5F39AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.176 H 293.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5F39AE
RGBrgb(95, 57, 174)
HSLhsl(259, 51%, 45%)
HSVhsv(259, 67%, 68%)
CMYKcmyk(45.4%, 67.2%, 0%, 31.8%)
CIE-LABlab(34.83, 43.82, -56.70)
CIE-LCHlch(34.83, 71.66, 307.70°)
OKLaboklab(45.73% 0.069 -0.1622)
OKLCHoklch(45.73% 0.176 293)
XYZxyz(13.8203, 8.4147, 40.9322)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F39AE #88AE39
analogous
#394EAE #5F39AE #9939AE
triadic
#5F39AE #AE5F39 #39AE5F
tetradic
#5F39AE #AE394E #88AE39 #39AE99
square
#5F39AE #AE394E #88AE39 #39AE99
split-complementary
#5F39AE #AE9939 #4EAE39
monochromatic
#2D1B52 #462A80 #5F39AE #7F5BC9 #A389D8

Accessibility & contrast

On white

7.83
#5F39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5F39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F39AE
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F39AE#FFFFFF#000000##FFFFFF
##5F39AE1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#48556F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f39ae;
/* rgb */ color: rgb(95, 57, 174);
/* oklch */ color: oklch(45.7% 0.176 293.0);
Tailwind
colors: {
  custom: {
    50: '#9372c7',
    500: '#5f39ae',
    950: '#000000',
  },
}
SCSS
$custom: #5f39ae;
$custom-light: #9372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f39ae",
  "rgb": {
    "r": 95,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 259.487,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.17628,
    "h": 293
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#5F39AE
secondary
#ADC380
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5F39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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