#5F3465#5F3465

#5F3465 is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.9% C 0.095 H 322.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5F3465
RGBrgb(95, 52, 101)
HSLhsl(293, 32%, 30%)
HSVhsv(293, 49%, 40%)
CMYKcmyk(5.9%, 48.5%, 0%, 60.4%)
CIE-LABlab(28.98, 27.93, -20.93)
CIE-LCHlch(28.98, 34.90, 323.15°)
OKLaboklab(39.92% 0.0752 -0.0576)
OKLCHoklch(39.92% 0.095 322.5)
XYZxyz(8.2960, 5.8288, 12.9975)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3465 #3A6534
analogous
#463465 #5F3465 #653453
triadic
#5F3465 #655F34 #34655F
tetradic
#5F3465 #654634 #3A6534 #345365
square
#5F3465 #654634 #3A6534 #345365
split-complementary
#5F3465 #536534 #346546
monochromatic
#130A14 #391F3D #5F3465 #85498D #A664AF

Accessibility & contrast

On white

9.70
#5F3465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5F3465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3465
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3465#FFFFFF#000000##FFFFFF
##5F34651.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4167
Deuteranopia (green-blind)
#3A4664
Tritanopia (blue-blind)
#603A47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5f3465;
/* rgb */ color: rgb(95, 52, 101);
/* oklch */ color: oklch(39.9% 0.095 322.5);
Tailwind
colors: {
  custom: {
    50: '#8e6d91',
    500: '#5f3465',
    950: '#000000',
  },
}
SCSS
$custom: #5f3465;
$custom-light: #8e6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3465",
  "rgb": {
    "r": 95,
    "g": 52,
    "b": 101
  },
  "hsl": {
    "h": 292.653,
    "s": 32.026,
    "l": 30
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.09472,
    "h": 322.5
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#5F3465
secondary
#66965F
accent
#C8606C
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C070C
muted
#7D7A7D

Preview Lab

Preview with #5F3465

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

Preview Lab → · Contrast checker → · Palette generator →

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