#6F1FA6#6F1FA6

#6F1FA6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.199 H 306.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6F1FA6
RGBrgb(111, 31, 166)
HSLhsl(276, 69%, 39%)
HSVhsv(276, 81%, 65%)
CMYKcmyk(33.1%, 81.3%, 0%, 34.9%)
CIE-LABlab(32.06, 56.43, -56.33)
CIE-LCHlch(32.06, 79.74, 315.05°)
OKLaboklab(44.01% 0.118 -0.1604)
OKLCHoklch(44.01% 0.199 306.3)
XYZxyz(13.9269, 7.1128, 36.7082)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FA6 #56A61F
analogous
#2C1FA6 #6F1FA6 #A61F99
triadic
#6F1FA6 #A66F1F #1FA66F
tetradic
#6F1FA6 #A62C1F #56A61F #1F99A6
square
#6F1FA6 #A62C1F #56A61F #1F99A6
split-complementary
#6F1FA6 #99A61F #1FA62C
monochromatic
#2A0C3F #4D1572 #6F1FA6 #912BD7 #AC5EE1

Accessibility & contrast

On white

8.67
#6F1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6F1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FA6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FA6#FFFFFF#000000##FFFFFF
##6F1FA61.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#654364
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f1fa6;
/* rgb */ color: rgb(111, 31, 166);
/* oklch */ color: oklch(44.0% 0.199 306.3);
Tailwind
colors: {
  custom: {
    50: '#9e66c1',
    500: '#6f1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fa6;
$custom-light: #9e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fa6",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 275.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.19912,
    "h": 306.3
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#6F1FA6
secondary
#87C55B
accent
#EB3C84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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