#6B1CA9#6B1CA9

#6B1CA9 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.204 H 303.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA9
RGBrgb(107, 28, 169)
HSLhsl(274, 72%, 39%)
HSVhsv(274, 83%, 66%)
CMYKcmyk(36.7%, 83.4%, 0%, 33.7%)
CIE-LABlab(31.40, 57.47, -59.25)
CIE-LCHlch(31.40, 82.55, 314.13°)
OKLaboklab(43.51% 0.1135 -0.1691)
OKLCHoklch(43.51% 0.204 303.9)
XYZxyz(13.6384, 6.8209, 38.1265)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA9 #5AA91C
analogous
#241CA9 #6B1CA9 #A91CA0
triadic
#6B1CA9 #A96B1C #1CA96B
tetradic
#6B1CA9 #A9241C #5AA91C #1CA0A9
square
#6B1CA9 #A9241C #5AA91C #1CA0A9
split-complementary
#6B1CA9 #A0A91C #1CA924
monochromatic
#290B40 #4A1374 #6B1CA9 #8C27DB #A85BE4

Accessibility & contrast

On white

8.88
#6B1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CA9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA9#FFFFFF#000000##FFFFFF
##6B1CA91.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5E4465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ca9;
/* rgb */ color: rgb(107, 28, 169);
/* oklch */ color: oklch(43.5% 0.204 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c64c4',
    500: '#6b1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca9;
$custom-light: #9c64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca9",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 273.617,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.20364,
    "h": 303.9
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#6B1CA9
secondary
#8AC859
accent
#EE3989
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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