#6C1D94#6C1D94

#6C1D94 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.183 H 310.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6C1D94
RGBrgb(108, 29, 148)
HSLhsl(280, 67%, 35%)
HSVhsv(280, 80%, 58%)
CMYKcmyk(27%, 80.4%, 0%, 42%)
CIE-LABlab(29.92, 52.66, -48.87)
CIE-LCHlch(29.92, 71.84, 317.14°)
OKLaboklab(41.97% 0.1199 -0.1386)
OKLCHoklch(41.97% 0.183 310.9)
XYZxyz(11.9680, 6.2053, 28.5785)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D94 #45941D
analogous
#311D94 #6C1D94 #941D81
triadic
#6C1D94 #946C1D #1D946C
tetradic
#6C1D94 #94311D #45941D #1D8194
square
#6C1D94 #94311D #45941D #1D8194
split-complementary
#6C1D94 #81941D #1D9431
monochromatic
#21092E #471361 #6C1D94 #9127C7 #AD4FDC

Accessibility & contrast

On white

9.37
#6C1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6C1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D94
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D94#FFFFFF#000000##FFFFFF
##6C1D941.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#673B59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1d94;
/* rgb */ color: rgb(108, 29, 148);
/* oklch */ color: oklch(42.0% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#9b63b4',
    500: '#6c1d94',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d94;
$custom-light: #9b63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d94",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 279.832,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.18324,
    "h": 310.9
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#6C1D94
secondary
#74BF4E
accent
#EA3E78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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