#6A1C97#6A1C97

#6A1C97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.186 H 308.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6A1C97
RGBrgb(106, 28, 151)
HSLhsl(278, 69%, 35%)
HSVhsv(278, 81%, 59%)
CMYKcmyk(29.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(29.74, 53.30, -51.03)
CIE-LCHlch(29.74, 73.79, 316.25°)
OKLaboklab(41.85% 0.1172 -0.145)
OKLCHoklch(41.85% 0.186 308.9)
XYZxyz(11.9439, 6.1293, 29.8260)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C97 #49971C
analogous
#2D1C97 #6A1C97 #971C86
triadic
#6A1C97 #976A1C #1C976A
tetradic
#6A1C97 #972D1C #49971C #1C8697
square
#6A1C97 #972D1C #49971C #1C8697
split-complementary
#6A1C97 #86971C #1C972D
monochromatic
#220930 #461263 #6A1C97 #8E26CB #AA4FDE

Accessibility & contrast

On white

9.43
#6A1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6A1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C97
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C97#FFFFFF#000000##FFFFFF
##6A1C971.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#633C5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1c97;
/* rgb */ color: rgb(106, 28, 151);
/* oklch */ color: oklch(41.9% 0.186 308.9);
Tailwind
colors: {
  custom: {
    50: '#9a63b6',
    500: '#6a1c97',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c97;
$custom-light: #9a63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c97",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 278.049,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.18644,
    "h": 308.9
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#6A1C97
secondary
#78C14E
accent
#EC3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6A1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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