#6D1CA7#6D1CA7

#6D1CA7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.202 H 305.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6D1CA7
RGBrgb(109, 28, 167)
HSLhsl(275, 71%, 38%)
HSVhsv(275, 83%, 65%)
CMYKcmyk(34.7%, 83.2%, 0%, 34.5%)
CIE-LABlab(31.51, 57.33, -57.84)
CIE-LCHlch(31.51, 81.44, 314.75°)
OKLaboklab(43.59% 0.117 -0.1649)
OKLCHoklch(43.59% 0.202 305.4)
XYZxyz(13.6954, 6.8718, 37.1566)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1CA7 #56A71C
analogous
#271CA7 #6D1CA7 #A71C9B
triadic
#6D1CA7 #A76D1C #1CA76D
tetradic
#6D1CA7 #A7271C #56A71C #1C9BA7
square
#6D1CA7 #A7271C #56A71C #1C9BA7
split-complementary
#6D1CA7 #9BA71C #1CA727
monochromatic
#290A3E #4B1373 #6D1CA7 #8F26DB #AA5AE3

Accessibility & contrast

On white

8.84
#6D1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6D1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1CA7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1CA7#FFFFFF#000000##FFFFFF
##6D1CA71.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#624364
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d1ca7;
/* rgb */ color: rgb(109, 28, 167);
/* oklch */ color: oklch(43.6% 0.202 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d64c2',
    500: '#6d1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ca7;
$custom-light: #9d64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ca7",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 274.964,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.20219,
    "h": 305.4
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#6D1CA7
secondary
#86C758
accent
#EE3A85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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