#5F3A67#5F3A67

#5F3A67 is a dark, moderate purple. Relative luminance 0.064; OKLCH L 41.1% C 0.085 H 320.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5F3A67
RGBrgb(95, 58, 103)
HSLhsl(289, 28%, 32%)
HSVhsv(289, 44%, 40%)
CMYKcmyk(7.8%, 43.7%, 0%, 59.6%)
CIE-LABlab(30.49, 24.76, -19.85)
CIE-LCHlch(30.49, 31.74, 321.28°)
OKLaboklab(41.09% 0.0658 -0.0546)
OKLCHoklch(41.09% 0.085 320.3)
XYZxyz(8.6802, 6.4386, 13.6149)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3A67 #42673A
analogous
#493A67 #5F3A67 #673A59
triadic
#5F3A67 #675F3A #3A675F
tetradic
#5F3A67 #67493A #42673A #3A5967
square
#5F3A67 #67493A #42673A #3A5967
split-complementary
#5F3A67 #59673A #3A6749
monochromatic
#170E19 #3B2440 #5F3A67 #83508E #A26EAD

Accessibility & contrast

On white

9.18
#5F3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5F3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3A67
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3A67#FFFFFF#000000##FFFFFF
##5F3A671.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344569
Deuteranopia (green-blind)
#3E4966
Tritanopia (blue-blind)
#603F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5f3a67;
/* rgb */ color: rgb(95, 58, 103);
/* oklch */ color: oklch(41.1% 0.085 320.3);
Tailwind
colors: {
  custom: {
    50: '#8d7192',
    500: '#5f3a67',
    950: '#000000',
  },
}
SCSS
$custom: #5f3a67;
$custom-light: #8d7192;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3a67",
  "rgb": {
    "r": 95,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 289.333,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.08545,
    "h": 320.3
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#5F3A67
secondary
#6E9766
accent
#C46475
background
#F8F6F9
surface
#F0ECF1
border
#CBC7CB
text
#0C080D
muted
#7D7B7E

Preview Lab

Preview with #5F3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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