#6D1FA7#6D1FA7

#6D1FA7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.200 H 305.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6D1FA7
RGBrgb(109, 31, 167)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(34.7%, 81.4%, 0%, 34.5%)
CIE-LABlab(31.86, 56.33, -57.28)
CIE-LCHlch(31.86, 80.34, 314.52°)
OKLaboklab(43.83% 0.1148 -0.1633)
OKLCHoklch(43.83% 0.2 305.1)
XYZxyz(13.7701, 7.0213, 37.1815)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1FA7 #59A71F
analogous
#291FA7 #6D1FA7 #A71F9D
triadic
#6D1FA7 #A76D1F #1FA76D
tetradic
#6D1FA7 #A7291F #59A71F #1F9DA7
square
#6D1FA7 #A7291F #59A71F #1F9DA7
split-complementary
#6D1FA7 #9DA71F #1FA729
monochromatic
#2A0C40 #4B1573 #6D1FA7 #8E2BD8 #AA5FE1

Accessibility & contrast

On white

8.73
#6D1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1FA7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1FA7#FFFFFF#000000##FFFFFF
##6D1FA71.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#624464
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1fa7;
/* rgb */ color: rgb(109, 31, 167);
/* oklch */ color: oklch(43.8% 0.200 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d65c2',
    500: '#6d1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6d1fa7;
$custom-light: #9d65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1fa7",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 274.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.19962,
    "h": 305.1
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#6D1FA7
secondary
#89C65C
accent
#EC3C87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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