#6C1E97#6C1E97

#6C1E97 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.185 H 309.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6C1E97
RGBrgb(108, 30, 151)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 59%)
CMYKcmyk(28.5%, 80.1%, 0%, 40.8%)
CIE-LABlab(30.28, 52.96, -50.13)
CIE-LCHlch(30.28, 72.92, 316.57°)
OKLaboklab(42.3% 0.1184 -0.1423)
OKLCHoklch(42.3% 0.185 309.8)
XYZxyz(12.2334, 6.3513, 29.8536)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E97 #49971E
analogous
#301E97 #6C1E97 #971E85
triadic
#6C1E97 #976C1E #1E976C
tetradic
#6C1E97 #97301E #49971E #1E8597
square
#6C1E97 #97301E #49971E #1E8597
split-complementary
#6C1E97 #85971E #1E9730
monochromatic
#230A31 #471464 #6C1E97 #9128CA #AC53DD

Accessibility & contrast

On white

9.25
#6C1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E97
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E97#FFFFFF#000000##FFFFFF
##6C1E971.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#663D5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1e97;
/* rgb */ color: rgb(108, 30, 151);
/* oklch */ color: oklch(42.3% 0.185 309.8);
Tailwind
colors: {
  custom: {
    50: '#9b64b6',
    500: '#6c1e97',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e97;
$custom-light: #9b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e97",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 278.678,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.1851,
    "h": 309.8
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#6C1E97
secondary
#78C051
accent
#EA3E7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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