#6A1CA7#6A1CA7

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

Color values

HEX#6A1CA7
RGBrgb(106, 28, 167)
HSLhsl(274, 71%, 38%)
HSVhsv(274, 83%, 65%)
CMYKcmyk(36.5%, 83.2%, 0%, 34.5%)
CIE-LABlab(31.08, 56.87, -58.57)
CIE-LCHlch(31.08, 81.64, 314.16°)
OKLaboklab(43.2% 0.1126 -0.1671)
OKLCHoklch(43.2% 0.202 304)
XYZxyz(13.3325, 6.6847, 37.1396)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1CA7 #59A71C
analogous
#241CA7 #6A1CA7 #A71C9E
triadic
#6A1CA7 #A76A1C #1CA76A
tetradic
#6A1CA7 #A7241C #59A71C #1C9EA7
square
#6A1CA7 #A7241C #59A71C #1C9EA7
split-complementary
#6A1CA7 #9EA71C #1CA724
monochromatic
#270A3E #491373 #6A1CA7 #8B26DB #A75AE3

Accessibility & contrast

On white

8.99
#6A1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1CA7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1CA7#FFFFFF#000000##FFFFFF
##6A1CA71.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5E4364
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a1ca7;
/* rgb */ color: rgb(106, 28, 167);
/* oklch */ color: oklch(43.2% 0.202 304.0);
Tailwind
colors: {
  custom: {
    50: '#9b64c2',
    500: '#6a1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ca7;
$custom-light: #9b64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ca7",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 273.669,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.20155,
    "h": 304
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#6A1CA7
secondary
#89C758
accent
#EE3A89
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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