#6F1FA7#6F1FA7

#6F1FA7 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.200 H 306.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6F1FA7
RGBrgb(111, 31, 167)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.5%, 81.4%, 0%, 34.5%)
CIE-LABlab(32.15, 56.66, -56.80)
CIE-LCHlch(32.15, 80.22, 314.93°)
OKLaboklab(44.09% 0.1177 -0.1618)
OKLCHoklch(44.09% 0.2 306)
XYZxyz(14.0190, 7.1496, 37.1932)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FA7 #57A71F
analogous
#2B1FA7 #6F1FA7 #A71F9B
triadic
#6F1FA7 #A76F1F #1FA76F
tetradic
#6F1FA7 #A72B1F #57A71F #1F9BA7
square
#6F1FA7 #A72B1F #57A71F #1F9BA7
split-complementary
#6F1FA7 #9BA71F #1FA72B
monochromatic
#2A0C40 #4D1573 #6F1FA7 #912BD8 #AC5FE1

Accessibility & contrast

On white

8.64
#6F1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F1FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FA7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FA7#FFFFFF#000000##FFFFFF
##6F1FA71.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#654464
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f1fa7;
/* rgb */ color: rgb(111, 31, 167);
/* oklch */ color: oklch(44.1% 0.200 306.0);
Tailwind
colors: {
  custom: {
    50: '#9e66c2',
    500: '#6f1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fa7;
$custom-light: #9e66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fa7",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 275.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44093,
    "c": 0.20007,
    "h": 306
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#6F1FA7
secondary
#88C65C
accent
#EC3C84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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