#6F1C7F#6F1C7F

#6F1C7F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.166 H 320.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6F1C7F
RGBrgb(111, 28, 127)
HSLhsl(290, 64%, 30%)
HSVhsv(290, 78%, 50%)
CMYKcmyk(12.6%, 78%, 0%, 50.2%)
CIE-LABlab(28.75, 49.28, -37.68)
CIE-LCHlch(28.75, 62.03, 322.60°)
OKLaboklab(40.76% 0.1283 -0.1056)
OKLCHoklch(40.76% 0.166 320.5)
XYZxyz(10.8011, 5.7429, 20.6141)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C7F #2C7F1C
analogous
#3D1C7F #6F1C7F #7F1C5D
triadic
#6F1C7F #7F6F1C #1C7F6F
tetradic
#6F1C7F #7F3D1C #2C7F1C #1C5D7F
square
#6F1C7F #7F3D1C #2C7F1C #1C5D7F
split-complementary
#6F1C7F #5D7F1C #1C7F3D
monochromatic
#17061B #43114D #6F1C7F #9B27B1 #BD40D5

Accessibility & contrast

On white

9.77
#6F1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F1C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C7F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C7F#FFFFFF#000000##FFFFFF
##6F1C7F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#70304D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1c7f;
/* rgb */ color: rgb(111, 28, 127);
/* oklch */ color: oklch(40.8% 0.166 320.5);
Tailwind
colors: {
  custom: {
    50: '#9c62a5',
    500: '#6f1c7f',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c7f;
$custom-light: #9c62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c7f",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 290.303,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.16616,
    "h": 320.5
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#6F1C7F
secondary
#56B344
accent
#E7415C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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