#5F5083#5F5083

#5F5083 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.8% C 0.082 H 296.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5F5083
RGBrgb(95, 80, 131)
HSLhsl(258, 24%, 41%)
HSVhsv(258, 39%, 51%)
CMYKcmyk(27.5%, 38.9%, 0%, 48.6%)
CIE-LABlab(37.50, 18.02, -26.43)
CIE-LCHlch(37.50, 31.99, 304.28°)
OKLaboklab(46.83% 0.0369 -0.0736)
OKLCHoklch(46.83% 0.082 296.6)
XYZxyz(11.6837, 9.8088, 22.7461)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5083 #748350
analogous
#505B83 #5F5083 #795083
triadic
#5F5083 #835F50 #50835F
tetradic
#5F5083 #83505B #748350 #508379
square
#5F5083 #83505B #748350 #508379
split-complementary
#5F5083 #837950 #5B8350
monochromatic
#282237 #43395D #5F5083 #7C6BA5 #9E91BC

Accessibility & contrast

On white

7.09
#5F5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5F5083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5083
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5083#FFFFFF#000000##FFFFFF
##5F50831.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435885
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#585963
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f5083;
/* rgb */ color: rgb(95, 80, 131);
/* oklch */ color: oklch(46.8% 0.082 296.6);
Tailwind
colors: {
  custom: {
    50: '#8d81a7',
    500: '#5f5083',
    950: '#000000',
  },
}
SCSS
$custom: #5f5083;
$custom-light: #8d81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5083",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 257.647,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.08235,
    "h": 296.6
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#5F5083
secondary
#9FA986
accent
#C167A6
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5F5083

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

Preview Lab → · Contrast checker → · Palette generator →

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