#6C1DA1#6C1DA1

#6C1DA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.195 H 306.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6C1DA1
RGBrgb(108, 29, 161)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 82%, 63%)
CMYKcmyk(32.9%, 82%, 0%, 36.9%)
CIE-LABlab(30.97, 55.51, -55.10)
CIE-LCHlch(30.97, 78.21, 315.21°)
OKLaboklab(43.03% 0.1166 -0.1569)
OKLCHoklch(43.03% 0.195 306.6)
XYZxyz(13.0553, 6.6402, 34.3052)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1DA1 #52A11D
analogous
#2A1DA1 #6C1DA1 #A11D94
triadic
#6C1DA1 #A16C1D #1DA16C
tetradic
#6C1DA1 #A12A1D #52A11D #1D94A1
square
#6C1DA1 #A12A1D #52A11D #1D94A1
split-complementary
#6C1DA1 #94A11D #1DA12A
monochromatic
#260A39 #49146D #6C1DA1 #8F26D5 #AA58E1

Accessibility & contrast

On white

9.02
#6C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1DA1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1DA1#FFFFFF#000000##FFFFFF
##6C1DA11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1da1;
/* rgb */ color: rgb(108, 29, 161);
/* oklch */ color: oklch(43.0% 0.195 306.6);
Tailwind
colors: {
  custom: {
    50: '#9c64be',
    500: '#6c1da1',
    950: '#000000',
  },
}
SCSS
$custom: #6c1da1;
$custom-light: #9c64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1da1",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 275.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.19547,
    "h": 306.6
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#6C1DA1
secondary
#82C455
accent
#EC3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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