#6F1D7A#6F1D7A

#6F1D7A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.161 H 322.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6F1D7A
RGBrgb(111, 29, 122)
HSLhsl(293, 62%, 30%)
HSVhsv(293, 76%, 48%)
CMYKcmyk(9%, 76.2%, 0%, 52.2%)
CIE-LABlab(28.55, 47.95, -34.85)
CIE-LCHlch(28.55, 59.28, 323.99°)
OKLaboklab(40.51% 0.1277 -0.0974)
OKLCHoklch(40.51% 0.161 322.7)
XYZxyz(10.5074, 5.6640, 18.9484)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D7A #287A1D
analogous
#411D7A #6F1D7A #7A1D57
triadic
#6F1D7A #7A6F1D #1D7A6F
tetradic
#6F1D7A #7A411D #287A1D #1D577A
square
#6F1D7A #7A411D #287A1D #1D577A
split-complementary
#6F1D7A #577A1D #1D7A41
monochromatic
#160619 #421149 #6F1D7A #9C29AB #C040D2

Accessibility & contrast

On white

9.85
#6F1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1D7A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D7A#FFFFFF#000000##FFFFFF
##6F1D7A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#712E4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1d7a;
/* rgb */ color: rgb(111, 29, 122);
/* oklch */ color: oklch(40.5% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#9c62a1',
    500: '#6f1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d7a;
$custom-light: #9c62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d7a",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 292.903,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.1606,
    "h": 322.7
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#6F1D7A
secondary
#51AE45
accent
#E54356
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #6F1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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