#6C209D#6C209D

#6C209D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.189 H 307.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6C209D
RGBrgb(108, 32, 157)
HSLhsl(276, 66%, 37%)
HSVhsv(276, 80%, 62%)
CMYKcmyk(31.2%, 79.6%, 0%, 38.4%)
CIE-LABlab(31.01, 53.56, -52.61)
CIE-LCHlch(31.01, 75.08, 315.51°)
OKLaboklab(42.96% 0.1153 -0.1496)
OKLCHoklch(42.96% 0.189 307.6)
XYZxyz(12.7854, 6.6557, 32.5029)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C209D #519D20
analogous
#2D209D #6C209D #9D2090
triadic
#6C209D #9D6C20 #209D6C
tetradic
#6C209D #9D2D20 #519D20 #20909D
square
#6C209D #9D2D20 #519D20 #20909D
split-complementary
#6C209D #909D20 #209D2D
monochromatic
#260B37 #49166A #6C209D #8F2AD0 #AA5ADD

Accessibility & contrast

On white

9.01
#6C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C209D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C209D#FFFFFF#000000##FFFFFF
##6C209D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#64405E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c209d;
/* rgb */ color: rgb(108, 32, 157);
/* oklch */ color: oklch(43.0% 0.189 307.6);
Tailwind
colors: {
  custom: {
    50: '#9b65bb',
    500: '#6c209d',
    950: '#000000',
  },
}
SCSS
$custom: #6c209d;
$custom-light: #9b65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c209d",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 276.48,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.18885,
    "h": 307.6
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6C209D
secondary
#81C157
accent
#E93F82
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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