#6C1B99#6C1B99

#6C1B99 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.190 H 309.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6C1B99
RGBrgb(108, 27, 153)
HSLhsl(279, 70%, 35%)
HSVhsv(279, 82%, 60%)
CMYKcmyk(29.4%, 82.4%, 0%, 40%)
CIE-LABlab(30.09, 54.42, -51.67)
CIE-LCHlch(30.09, 75.04, 316.48°)
OKLaboklab(42.21% 0.1203 -0.1468)
OKLCHoklch(42.21% 0.19 309.3)
XYZxyz(12.3249, 6.2722, 30.6922)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B99 #48991B
analogous
#2D1B99 #6C1B99 #991B87
triadic
#6C1B99 #996C1B #1B996C
tetradic
#6C1B99 #992D1B #48991B #1B8799
square
#6C1B99 #992D1B #48991B #1B8799
split-complementary
#6C1B99 #87991B #1B992D
monochromatic
#230931 #471265 #6C1B99 #9124CD #AC4FE0

Accessibility & contrast

On white

9.32
#6C1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C1B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B99
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B99#FFFFFF#000000##FFFFFF
##6C1B991.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#653C5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1b99;
/* rgb */ color: rgb(108, 27, 153);
/* oklch */ color: oklch(42.2% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#9b63b8',
    500: '#6c1b99',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b99;
$custom-light: #9b63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b99",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.18976,
    "h": 309.3
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#6C1B99
secondary
#77C24E
accent
#ED3B7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6C1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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