#6C169D#6C169D

#6C169D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.197 H 308.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6C169D
RGBrgb(108, 22, 157)
HSLhsl(278, 75%, 35%)
HSVhsv(278, 86%, 62%)
CMYKcmyk(31.2%, 86%, 0%, 38.4%)
CIE-LABlab(29.90, 56.79, -54.42)
CIE-LCHlch(29.90, 78.65, 316.22°)
OKLaboklab(42.18% 0.1226 -0.1548)
OKLCHoklch(42.18% 0.197 308.4)
XYZxyz(12.5558, 6.1965, 32.4264)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C169D #479D16
analogous
#28169D #6C169D #9D168B
triadic
#6C169D #9D6C16 #169D6C
tetradic
#6C169D #9D2816 #479D16 #168B9D
square
#6C169D #9D2816 #479D16 #168B9D
split-complementary
#6C169D #8B9D16 #169D28
monochromatic
#220732 #470E67 #6C169D #911ED3 #AC48E5

Accessibility & contrast

On white

9.38
#6C169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C169D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C169D#FFFFFF#000000##FFFFFF
##6C169D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#643C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c169d;
/* rgb */ color: rgb(108, 22, 157);
/* oklch */ color: oklch(42.2% 0.197 308.4);
Tailwind
colors: {
  custom: {
    50: '#9c61bb',
    500: '#6c169d',
    950: '#000000',
  },
}
SCSS
$custom: #6c169d;
$custom-light: #9c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c169d",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 278.222,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.19749,
    "h": 308.4
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#6C169D
secondary
#76C748
accent
#F2367A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C169D

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

Preview Lab → · Contrast checker → · Palette generator →

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