#6F1AA1#6F1AA1

#6F1AA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.2% C 0.199 H 308.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6F1AA1
RGBrgb(111, 26, 161)
HSLhsl(278, 72%, 37%)
HSVhsv(278, 84%, 63%)
CMYKcmyk(31.1%, 83.9%, 0%, 36.9%)
CIE-LABlab(31.09, 56.96, -54.89)
CIE-LCHlch(31.09, 79.10, 316.06°)
OKLaboklab(43.21% 0.123 -0.1561)
OKLCHoklch(43.21% 0.199 308.2)
XYZxyz(13.3566, 6.6917, 34.2993)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1AA1 #4CA11A
analogous
#2C1AA1 #6F1AA1 #A11A90
triadic
#6F1AA1 #A16F1A #1AA16F
tetradic
#6F1AA1 #A12C1A #4CA11A #1A90A1
square
#6F1AA1 #A12C1A #4CA11A #1A90A1
split-complementary
#6F1AA1 #90A11A #1AA12C
monochromatic
#260938 #4B116C #6F1AA1 #9323D6 #AD52E3

Accessibility & contrast

On white

8.98
#6F1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6F1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1AA1
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1AA1#FFFFFF#000000##FFFFFF
##6F1AA11.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#673F60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1aa1;
/* rgb */ color: rgb(111, 26, 161);
/* oklch */ color: oklch(43.2% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#9e63be',
    500: '#6f1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6f1aa1;
$custom-light: #9e63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1aa1",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 277.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.19877,
    "h": 308.2
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#6F1AA1
secondary
#7CC651
accent
#EF397C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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