#6C1FA0#6C1FA0

#6C1FA0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.193 H 306.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6C1FA0
RGBrgb(108, 31, 160)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 63%)
CMYKcmyk(32.5%, 80.6%, 0%, 37.3%)
CIE-LABlab(31.13, 54.59, -54.24)
CIE-LCHlch(31.13, 76.96, 315.18°)
OKLaboklab(43.11% 0.1153 -0.1544)
OKLCHoklch(43.11% 0.193 306.8)
XYZxyz(13.0181, 6.7063, 33.8595)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FA0 #53A01F
analogous
#2C1FA0 #6C1FA0 #A01F93
triadic
#6C1FA0 #A06C1F #1FA06C
tetradic
#6C1FA0 #A02C1F #53A01F #1F93A0
square
#6C1FA0 #A02C1F #53A01F #1F93A0
split-complementary
#6C1FA0 #93A01F #1FA02C
monochromatic
#270B39 #49156D #6C1FA0 #8F29D3 #AA5ADF

Accessibility & contrast

On white

8.97
#6C1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1FA0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FA0#FFFFFF#000000##FFFFFF
##6C1FA01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1fa0;
/* rgb */ color: rgb(108, 31, 160);
/* oklch */ color: oklch(43.1% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b65bd',
    500: '#6c1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #6c1fa0;
$custom-light: #9b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1fa0",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 275.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.1927,
    "h": 306.8
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#6C1FA0
secondary
#83C358
accent
#EA3D83
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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