#6C209C#6C209C

#6C209C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.188 H 307.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6C209C
RGBrgb(108, 32, 156)
HSLhsl(277, 66%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(30.8%, 79.5%, 0%, 38.8%)
CIE-LABlab(30.93, 53.34, -52.13)
CIE-LCHlch(30.93, 74.58, 315.65°)
OKLaboklab(42.87% 0.1155 -0.1482)
OKLCHoklch(42.87% 0.188 307.9)
XYZxyz(12.7003, 6.6217, 32.0551)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C209C #509C20
analogous
#2E209C #6C209C #9C208E
triadic
#6C209C #9C6C20 #209C6C
tetradic
#6C209C #9C2E20 #509C20 #208E9C
square
#6C209C #9C2E20 #509C20 #208E9C
split-complementary
#6C209C #8E9C20 #209C2E
monochromatic
#260B36 #491669 #6C209C #8F2ACF #AA59DD

Accessibility & contrast

On white

9.04
#6C209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C209C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C209C#FFFFFF#000000##FFFFFF
##6C209C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#64405E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c209c;
/* rgb */ color: rgb(108, 32, 156);
/* oklch */ color: oklch(42.9% 0.188 307.9);
Tailwind
colors: {
  custom: {
    50: '#9b65ba',
    500: '#6c209c',
    950: '#000000',
  },
}
SCSS
$custom: #6c209c;
$custom-light: #9b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c209c",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 276.774,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.18789,
    "h": 307.9
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#6C209C
secondary
#80C157
accent
#E93F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C209C

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

Preview Lab → · Contrast checker → · Palette generator →

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