#6D1CA1#6D1CA1

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

Color values

HEX#6D1CA1
RGBrgb(109, 28, 161)
HSLhsl(277, 70%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(32.3%, 82.6%, 0%, 36.9%)
CIE-LABlab(31.01, 56.00, -55.04)
CIE-LCHlch(31.01, 78.52, 315.50°)
OKLaboklab(43.09% 0.1188 -0.1567)
OKLCHoklch(43.09% 0.197 307.2)
XYZxyz(13.1536, 6.6551, 34.3029)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1CA1 #50A11C
analogous
#2A1CA1 #6D1CA1 #A11C93
triadic
#6D1CA1 #A16D1C #1CA16D
tetradic
#6D1CA1 #A12A1C #50A11C #1C93A1
square
#6D1CA1 #A12A1C #50A11C #1C93A1
split-complementary
#6D1CA1 #93A11C #1CA12A
monochromatic
#260A39 #4A136D #6D1CA1 #9025D5 #AB56E2

Accessibility & contrast

On white

9.01
#6D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1CA1
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1CA1#FFFFFF#000000##FFFFFF
##6D1CA11.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#644060
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1ca1;
/* rgb */ color: rgb(109, 28, 161);
/* oklch */ color: oklch(43.1% 0.197 307.2);
Tailwind
colors: {
  custom: {
    50: '#9c64be',
    500: '#6d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ca1;
$custom-light: #9c64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ca1",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 276.541,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.19659,
    "h": 307.2
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6D1CA1
secondary
#80C554
accent
#ED3B80
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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