#5F2379#5F2379

#5F2379 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.145 H 313.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#5F2379
RGBrgb(95, 35, 121)
HSLhsl(282, 55%, 31%)
HSVhsv(282, 71%, 47%)
CMYKcmyk(21.5%, 71.1%, 0%, 52.5%)
CIE-LABlab(26.78, 41.55, -37.20)
CIE-LCHlch(26.78, 55.77, 318.16°)
OKLaboklab(38.7% 0.1004 -0.1048)
OKLCHoklch(38.7% 0.145 313.8)
XYZxyz(8.7709, 5.0157, 18.5916)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2379 #3D7923
analogous
#342379 #5F2379 #792368
triadic
#5F2379 #795F23 #23795F
tetradic
#5F2379 #793423 #3D7923 #236879
square
#5F2379 #793423 #3D7923 #236879
split-complementary
#5F2379 #687923 #237934
monochromatic
#14081A #3A154A #5F2379 #8431A8 #A44BCB

Accessibility & contrast

On white

10.48
#5F2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5F2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2379
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2379#FFFFFF#000000##FFFFFF
##5F23791.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#5C344B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f2379;
/* rgb */ color: rgb(95, 35, 121);
/* oklch */ color: oklch(38.7% 0.145 313.8);
Tailwind
colors: {
  custom: {
    50: '#8f63a0',
    500: '#5f2379',
    950: '#000000',
  },
}
SCSS
$custom: #5f2379;
$custom-light: #8f63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2379",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 281.86,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.387,
    "c": 0.14512,
    "h": 313.8
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#5F2379
secondary
#69AC4C
accent
#DE4976
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #5F2379

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

Preview Lab → · Contrast checker → · Palette generator →

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