#6C1E99#6C1E99

#6C1E99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.187 H 309.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6C1E99
RGBrgb(108, 30, 153)
HSLhsl(278, 67%, 36%)
HSVhsv(278, 80%, 60%)
CMYKcmyk(29.4%, 80.4%, 0%, 40%)
CIE-LABlab(30.44, 53.40, -51.10)
CIE-LCHlch(30.44, 73.91, 316.26°)
OKLaboklab(42.46% 0.1179 -0.1451)
OKLCHoklch(42.46% 0.187 309.1)
XYZxyz(12.3972, 6.4168, 30.7163)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E99 #4B991E
analogous
#2F1E99 #6C1E99 #991E88
triadic
#6C1E99 #996C1E #1E996C
tetradic
#6C1E99 #992F1E #4B991E #1E8899
square
#6C1E99 #992F1E #4B991E #1E8899
split-complementary
#6C1E99 #88991E #1E992F
monochromatic
#240A33 #481466 #6C1E99 #9028CC #AB54DD

Accessibility & contrast

On white

9.20
#6C1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6C1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E99
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E99#FFFFFF#000000##FFFFFF
##6C1E991.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653D5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c1e99;
/* rgb */ color: rgb(108, 30, 153);
/* oklch */ color: oklch(42.5% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#9b64b8',
    500: '#6c1e99',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e99;
$custom-light: #9b64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e99",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 278.049,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.18698,
    "h": 309.1
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#6C1E99
secondary
#7BC152
accent
#EA3E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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