#6F1D7D#6F1D7D

#6F1D7D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 321.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6F1D7D
RGBrgb(111, 29, 125)
HSLhsl(291, 62%, 30%)
HSVhsv(291, 77%, 49%)
CMYKcmyk(11.2%, 76.8%, 0%, 51%)
CIE-LABlab(28.75, 48.53, -36.43)
CIE-LCHlch(28.75, 60.68, 323.10°)
OKLaboklab(40.71% 0.1275 -0.102)
OKLCHoklch(40.71% 0.163 321.3)
XYZxyz(10.6962, 5.7395, 19.9425)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D7D #2B7D1D
analogous
#3F1D7D #6F1D7D #7D1D5B
triadic
#6F1D7D #7D6F1D #1D7D6F
tetradic
#6F1D7D #7D3F1D #2B7D1D #1D5B7D
square
#6F1D7D #7D3F1D #2B7D1D #1D5B7D
split-complementary
#6F1D7D #5B7D1D #1D7D3F
monochromatic
#17061A #43114B #6F1D7D #9B29AF #BE41D3

Accessibility & contrast

On white

9.78
#6F1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1D7D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D7D#FFFFFF#000000##FFFFFF
##6F1D7D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#70304C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1d7d;
/* rgb */ color: rgb(111, 29, 125);
/* oklch */ color: oklch(40.7% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#9c63a3',
    500: '#6f1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d7d;
$custom-light: #9c63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d7d",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 291.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.16327,
    "h": 321.3
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#6F1D7D
secondary
#55B145
accent
#E5425A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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