#6F1F97#6F1F97

#6F1F97 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 311.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6F1F97
RGBrgb(111, 31, 151)
HSLhsl(280, 66%, 36%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(26.5%, 79.5%, 0%, 40.8%)
CIE-LABlab(30.86, 53.15, -49.17)
CIE-LCHlch(30.86, 72.40, 317.23°)
OKLaboklab(42.8% 0.1217 -0.1394)
OKLCHoklch(42.8% 0.185 311.1)
XYZxyz(12.6304, 6.5942, 29.8796)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F97 #47971F
analogous
#331F97 #6F1F97 #971F83
triadic
#6F1F97 #976F1F #1F976F
tetradic
#6F1F97 #97331F #47971F #1F8397
square
#6F1F97 #97331F #47971F #1F8397
split-complementary
#6F1F97 #83971F #1F9733
monochromatic
#240A31 #4A1564 #6F1F97 #9429CA #AF54DC

Accessibility & contrast

On white

9.06
#6F1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F1F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F97
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F97#FFFFFF#000000##FFFFFF
##6F1F971.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#6A3D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1f97;
/* rgb */ color: rgb(111, 31, 151);
/* oklch */ color: oklch(42.8% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d65b6',
    500: '#6f1f97',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f97;
$custom-light: #9d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f97",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.185,
    "h": 311.1
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#6F1F97
secondary
#77BF52
accent
#E93F78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1F97

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

Preview Lab → · Contrast checker → · Palette generator →

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