#6D1FA6#6D1FA6

#6D1FA6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.199 H 305.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6D1FA6
RGBrgb(109, 31, 166)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(34.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(31.77, 56.11, -56.82)
CIE-LCHlch(31.77, 79.85, 314.64°)
OKLaboklab(43.75% 0.1151 -0.1619)
OKLCHoklch(43.75% 0.199 305.4)
XYZxyz(13.6780, 6.9845, 36.6966)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1FA6 #58A61F
analogous
#2A1FA6 #6D1FA6 #A61F9B
triadic
#6D1FA6 #A66D1F #1FA66D
tetradic
#6D1FA6 #A62A1F #58A61F #1F9BA6
square
#6D1FA6 #A62A1F #58A61F #1F9BA6
split-complementary
#6D1FA6 #9BA61F #1FA62A
monochromatic
#290C3F #4B1572 #6D1FA6 #8F2BD7 #AA5EE1

Accessibility & contrast

On white

8.76
#6D1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6D1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1FA6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1FA6#FFFFFF#000000##FFFFFF
##6D1FA61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1fa6;
/* rgb */ color: rgb(109, 31, 166);
/* oklch */ color: oklch(43.7% 0.199 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6d1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6d1fa6;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1fa6",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 274.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.19866,
    "h": 305.4
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#6D1FA6
secondary
#88C55B
accent
#EB3C86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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