#5F4E83#5F4E83

#5F4E83 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.4% C 0.086 H 297.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5F4E83
RGBrgb(95, 78, 131)
HSLhsl(259, 25%, 41%)
HSVhsv(259, 40%, 51%)
CMYKcmyk(27.5%, 40.5%, 0%, 48.6%)
CIE-LABlab(36.97, 19.27, -27.26)
CIE-LCHlch(36.97, 33.39, 305.26°)
OKLaboklab(46.43% 0.04 -0.076)
OKLCHoklch(46.43% 0.086 297.7)
XYZxyz(11.5395, 9.5203, 22.6980)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E83 #72834E
analogous
#4E5783 #5F4E83 #794E83
triadic
#5F4E83 #835F4E #4E835F
tetradic
#5F4E83 #834E57 #72834E #4E8379
square
#5F4E83 #834E57 #72834E #4E8379
split-complementary
#5F4E83 #83794E #57834E
monochromatic
#272036 #43375D #5F4E83 #7C69A6 #9E8FBC

Accessibility & contrast

On white

7.23
#5F4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5F4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E83
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E83#FFFFFF#000000##FFFFFF
##5F4E831.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405785
Deuteranopia (green-blind)
#435682
Tritanopia (blue-blind)
#585762
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f4e83;
/* rgb */ color: rgb(95, 78, 131);
/* oklch */ color: oklch(46.4% 0.086 297.7);
Tailwind
colors: {
  custom: {
    50: '#8e7fa7',
    500: '#5f4e83',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e83;
$custom-light: #8e7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e83",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 259.245,
    "s": 25.359,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.08588,
    "h": 297.7
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#5F4E83
secondary
#9DA984
accent
#C266A4
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5F4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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