#5F3699#5F3699

#5F3699 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.155 H 298.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5F3699
RGBrgb(95, 54, 153)
HSLhsl(265, 48%, 41%)
HSVhsv(265, 65%, 60%)
CMYKcmyk(37.9%, 64.7%, 0%, 40%)
CIE-LABlab(32.64, 39.70, -47.62)
CIE-LCHlch(32.64, 62.00, 309.81°)
OKLaboklab(43.64% 0.0747 -0.1355)
OKLCHoklch(43.64% 0.155 298.9)
XYZxyz(11.7868, 7.3710, 30.9326)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3699 #709936
analogous
#363F99 #5F3699 #903699
triadic
#5F3699 #995F36 #36995F
tetradic
#5F3699 #99363F #709936 #369990
square
#5F3699 #99363F #709936 #369990
split-complementary
#5F3699 #999036 #3F9936
monochromatic
#27163F #43266C #5F3699 #7C4CC0 #9D7AD0

Accessibility & contrast

On white

8.49
#5F3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5F3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3699
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3699#FFFFFF#000000##FFFFFF
##5F36991.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#044C97
Tritanopia (blue-blind)
#524C62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f3699;
/* rgb */ color: rgb(95, 54, 153);
/* oklch */ color: oklch(43.6% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#916fb8',
    500: '#5f3699',
    950: '#000000',
  },
}
SCSS
$custom: #5f3699;
$custom-light: #916fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3699",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 264.848,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.15474,
    "h": 298.9
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#5F3699
secondary
#9BB972
accent
#D7509F
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5F3699

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

Preview Lab → · Contrast checker → · Palette generator →

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