#6F1F7D#6F1F7D

#6F1F7D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.161 H 321.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6F1F7D
RGBrgb(111, 31, 125)
HSLhsl(291, 60%, 31%)
HSVhsv(291, 75%, 49%)
CMYKcmyk(11.2%, 75.2%, 0%, 51%)
CIE-LABlab(29.01, 47.78, -36.01)
CIE-LCHlch(29.01, 59.83, 322.99°)
OKLaboklab(40.9% 0.1255 -0.1008)
OKLCHoklch(40.9% 0.161 321.2)
XYZxyz(10.7468, 5.8407, 19.9594)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F7D #2D7D1F
analogous
#401F7D #6F1F7D #7D1F5C
triadic
#6F1F7D #7D6F1F #1F7D6F
tetradic
#6F1F7D #7D401F #2D7D1F #1F5C7D
square
#6F1F7D #7D401F #2D7D1F #1F5C7D
split-complementary
#6F1F7D #5C7D1F #1F7D40
monochromatic
#18071B #43134C #6F1F7D #9B2BAE #BC45D1

Accessibility & contrast

On white

9.69
#6F1F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F1F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F7D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F7D#FFFFFF#000000##FFFFFF
##6F1F7D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#70314C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1f7d;
/* rgb */ color: rgb(111, 31, 125);
/* oklch */ color: oklch(40.9% 0.161 321.2);
Tailwind
colors: {
  custom: {
    50: '#9c63a3',
    500: '#6f1f7d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f7d;
$custom-light: #9c63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f7d",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 291.064,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.16095,
    "h": 321.2
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#6F1F7D
secondary
#57B048
accent
#E3445C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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