#5F1065#5F1065

#5F1065 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.149 H 324.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5F1065
RGBrgb(95, 16, 101)
HSLhsl(296, 73%, 23%)
HSVhsv(296, 84%, 40%)
CMYKcmyk(5.9%, 84.2%, 0%, 60.4%)
CIE-LABlab(22.80, 44.82, -30.69)
CIE-LCHlch(22.80, 54.32, 325.60°)
OKLaboklab(35.43% 0.1217 -0.0856)
OKLCHoklch(35.43% 0.149 324.9)
XYZxyz(7.2534, 3.7435, 12.6499)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1065 #166510
analogous
#341065 #5F1065 #651040
triadic
#5F1065 #655F10 #10655F
tetradic
#5F1065 #653410 #166510 #104065
square
#5F1065 #653410 #166510 #104065
split-complementary
#5F1065 #406510 #106534
monochromatic
#19041A #2D0830 #5F1065 #91189A #C221CF

Accessibility & contrast

On white

12.01
#5F1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5F1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1065
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1065#FFFFFF#000000##FFFFFF
##5F10651.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#233A63
Tritanopia (blue-blind)
#61213B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1065;
/* rgb */ color: rgb(95, 16, 101);
/* oklch */ color: oklch(35.4% 0.149 324.9);
Tailwind
colors: {
  custom: {
    50: '#905a91',
    500: '#5f1065',
    950: '#000000',
  },
}
SCSS
$custom: #5f1065;
$custom-light: #905a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1065",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 295.765,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3543,
    "c": 0.14877,
    "h": 324.9
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#5F1065
secondary
#3B9D33
accent
#EF3845
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1065

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

Preview Lab → · Contrast checker → · Palette generator →

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