#6F1F8D#6F1F8D

#6F1F8D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.176 H 314.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6F1F8D
RGBrgb(111, 31, 141)
HSLhsl(284, 64%, 34%)
HSVhsv(284, 78%, 55%)
CMYKcmyk(21.3%, 78%, 0%, 44.7%)
CIE-LABlab(30.12, 51.03, -44.22)
CIE-LCHlch(30.12, 67.52, 319.09°)
OKLaboklab(42.04% 0.1236 -0.1248)
OKLCHoklch(42.04% 0.176 314.7)
XYZxyz(11.8524, 6.2830, 25.7825)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F8D #3D8D1F
analogous
#381F8D #6F1F8D #8D1F74
triadic
#6F1F8D #8D6F1F #1F8D6F
tetradic
#6F1F8D #8D381F #3D8D1F #1F748D
square
#6F1F8D #8D381F #3D8D1F #1F748D
split-complementary
#6F1F8D #748D1F #1F8D38
monochromatic
#200929 #48145B #6F1F8D #962ABF #B34ED8

Accessibility & contrast

On white

9.31
#6F1F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6F1F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F8D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F8D#FFFFFF#000000##FFFFFF
##6F1F8D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#6C3855
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1f8d;
/* rgb */ color: rgb(111, 31, 141);
/* oklch */ color: oklch(42.0% 0.176 314.7);
Tailwind
colors: {
  custom: {
    50: '#9c64af',
    500: '#6f1f8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f8d;
$custom-light: #9c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f8d",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 283.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.17565,
    "h": 314.7
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#6F1F8D
secondary
#6BBB4D
accent
#E7416E
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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