#6F1579#6F1579

#6F1579 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.168 H 323.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6F1579
RGBrgb(111, 21, 121)
HSLhsl(294, 70%, 28%)
HSVhsv(294, 83%, 47%)
CMYKcmyk(8.3%, 82.6%, 0%, 52.5%)
CIE-LABlab(27.56, 50.40, -35.79)
CIE-LCHlch(27.56, 61.82, 324.62°)
OKLaboklab(39.79% 0.135 -0.1001)
OKLCHoklch(39.79% 0.168 323.5)
XYZxyz(10.2746, 5.2970, 18.5667)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1579 #1F7915
analogous
#3D1579 #6F1579 #791551
triadic
#6F1579 #796F15 #15796F
tetradic
#6F1579 #793D15 #1F7915 #155179
square
#6F1579 #793D15 #1F7915 #155179
split-complementary
#6F1579 #517915 #15793D
monochromatic
#18051A #3F0C45 #6F1579 #9F1EAD #C92EDB

Accessibility & contrast

On white

10.20
#6F1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1579
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1579#FFFFFF#000000##FFFFFF
##6F15791.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#284477
Tritanopia (blue-blind)
#712A48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1579;
/* rgb */ color: rgb(111, 21, 121);
/* oklch */ color: oklch(39.8% 0.168 323.5);
Tailwind
colors: {
  custom: {
    50: '#9c5fa0',
    500: '#6f1579',
    950: '#000000',
  },
}
SCSS
$custom: #6f1579;
$custom-light: #9c5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1579",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 294,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.16803,
    "h": 323.5
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#6F1579
secondary
#47AF3B
accent
#ED3B4C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050F
muted
#7E797E

Preview Lab

Preview with #6F1579

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

Preview Lab → · Contrast checker → · Palette generator →

#6F1579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva