#6B1CA6#6B1CA6

#6B1CA6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.201 H 304.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA6
RGBrgb(107, 28, 166)
HSLhsl(274, 71%, 38%)
HSVhsv(274, 83%, 65%)
CMYKcmyk(35.5%, 83.1%, 0%, 34.9%)
CIE-LABlab(31.14, 56.80, -57.87)
CIE-LCHlch(31.14, 81.08, 314.47°)
OKLaboklab(43.25% 0.1144 -0.165)
OKLCHoklch(43.25% 0.201 304.7)
XYZxyz(13.3600, 6.7095, 36.6602)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA6 #57A61C
analogous
#261CA6 #6B1CA6 #A61C9C
triadic
#6B1CA6 #A66B1C #1CA66B
tetradic
#6B1CA6 #A6261C #57A61C #1C9CA6
square
#6B1CA6 #A6261C #57A61C #1C9CA6
split-complementary
#6B1CA6 #9CA61C #1CA626
monochromatic
#270A3D #491372 #6B1CA6 #8D25DA #A859E3

Accessibility & contrast

On white

8.97
#6B1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B1CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CA6
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA6#FFFFFF#000000##FFFFFF
##6B1CA61.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#5F4363
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1ca6;
/* rgb */ color: rgb(107, 28, 166);
/* oklch */ color: oklch(43.2% 0.201 304.7);
Tailwind
colors: {
  custom: {
    50: '#9b64c1',
    500: '#6b1ca6',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca6;
$custom-light: #9b64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca6",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 274.348,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.20081,
    "h": 304.7
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#6B1CA6
secondary
#87C757
accent
#EE3A87
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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