#5F439D#5F439D

#5F439D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.0% C 0.141 H 294.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5F439D
RGBrgb(95, 67, 157)
HSLhsl(259, 40%, 44%)
HSVhsv(259, 57%, 62%)
CMYKcmyk(39.5%, 57.3%, 0%, 38.4%)
CIE-LABlab(35.75, 33.28, -45.02)
CIE-LCHlch(35.75, 55.98, 306.47°)
OKLaboklab(46.01% 0.0585 -0.1279)
OKLCHoklch(46.01% 0.141 294.6)
XYZxyz(12.8107, 8.8812, 32.9311)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F439D #819D43
analogous
#43549D #5F439D #8C439D
triadic
#5F439D #9D5F43 #439D5F
tetradic
#5F439D #9D4354 #819D43 #439D8C
square
#5F439D #9D4354 #819D43 #439D8C
split-complementary
#5F439D #9D8C43 #549D43
monochromatic
#2B1E47 #453172 #5F439D #7E61BC #A18CCE

Accessibility & contrast

On white

7.56
#5F439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5F439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F439D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F439D#FFFFFF#000000##FFFFFF
##5F439D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#4F5669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f439d;
/* rgb */ color: rgb(95, 67, 157);
/* oklch */ color: oklch(46.0% 0.141 294.6);
Tailwind
colors: {
  custom: {
    50: '#9078ba',
    500: '#5f439d',
    950: '#000000',
  },
}
SCSS
$custom: #5f439d;
$custom-light: #9078ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5f439d",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 258.667,
    "s": 40.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4601,
    "c": 0.1406,
    "h": 294.6
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#5F439D
secondary
#A8B983
accent
#D058AB
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5F439D

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

Preview Lab → · Contrast checker → · Palette generator →

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