#6B1CA1#6B1CA1

#6B1CA1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.196 H 306.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA1
RGBrgb(107, 28, 161)
HSLhsl(276, 70%, 37%)
HSVhsv(276, 83%, 63%)
CMYKcmyk(33.5%, 82.6%, 0%, 36.9%)
CIE-LABlab(30.71, 55.68, -55.54)
CIE-LCHlch(30.71, 78.64, 315.07°)
OKLaboklab(42.82% 0.1159 -0.1582)
OKLCHoklch(42.82% 0.196 306.2)
XYZxyz(12.9103, 6.5296, 34.2915)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA1 #52A11C
analogous
#291CA1 #6B1CA1 #A11C95
triadic
#6B1CA1 #A16B1C #1CA16B
tetradic
#6B1CA1 #A1291C #52A11C #1C95A1
square
#6B1CA1 #A1291C #52A11C #1C95A1
split-complementary
#6B1CA1 #95A11C #1CA129
monochromatic
#260A39 #48136D #6B1CA1 #8E25D5 #A956E2

Accessibility & contrast

On white

9.11
#6B1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CA1
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA1#FFFFFF#000000##FFFFFF
##6B1CA11.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1ca1;
/* rgb */ color: rgb(107, 28, 161);
/* oklch */ color: oklch(42.8% 0.196 306.2);
Tailwind
colors: {
  custom: {
    50: '#9b64be',
    500: '#6b1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca1;
$custom-light: #9b64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca1",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 275.639,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.1961,
    "h": 306.2
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#6B1CA1
secondary
#82C554
accent
#ED3B83
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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