#5F1765#5F1765

#5F1765 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.141 H 324.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#5F1765
RGBrgb(95, 23, 101)
HSLhsl(295, 63%, 24%)
HSVhsv(295, 77%, 40%)
CMYKcmyk(5.9%, 77.2%, 0%, 60.4%)
CIE-LABlab(23.62, 42.46, -29.38)
CIE-LCHlch(23.62, 51.63, 325.32°)
OKLaboklab(36.01% 0.1152 -0.0818)
OKLCHoklch(36.01% 0.141 324.6)
XYZxyz(7.3745, 3.9857, 12.6903)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1765 #1D6517
analogous
#381765 #5F1765 #651744
triadic
#5F1765 #655F17 #17655F
tetradic
#5F1765 #653817 #1D6517 #174465
square
#5F1765 #653817 #1D6517 #174465
split-complementary
#5F1765 #446517 #176538
monochromatic
#170619 #300C33 #5F1765 #8E2297 #BD2EC9

Accessibility & contrast

On white

11.69
#5F1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1765
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1765#FFFFFF#000000##FFFFFF
##5F17651.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#263B63
Tritanopia (blue-blind)
#61253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1765;
/* rgb */ color: rgb(95, 23, 101);
/* oklch */ color: oklch(36.0% 0.141 324.6);
Tailwind
colors: {
  custom: {
    50: '#8f5d91',
    500: '#5f1765',
    950: '#000000',
  },
}
SCSS
$custom: #5f1765;
$custom-light: #8f5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1765",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 295.385,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36012,
    "c": 0.14128,
    "h": 324.6
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#5F1765
secondary
#449B3C
accent
#E6424E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5F1765

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

Preview Lab → · Contrast checker → · Palette generator →

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