#6C209A#6C209A

#6C209A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 308.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6C209A
RGBrgb(108, 32, 154)
HSLhsl(277, 66%, 36%)
HSVhsv(277, 79%, 60%)
CMYKcmyk(29.9%, 79.2%, 0%, 39.6%)
CIE-LABlab(30.77, 52.89, -51.17)
CIE-LCHlch(30.77, 73.60, 315.95°)
OKLaboklab(42.71% 0.116 -0.1454)
OKLCHoklch(42.71% 0.186 308.6)
XYZxyz(12.5324, 6.5545, 31.1705)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C209A #4E9A20
analogous
#2F209A #6C209A #9A208B
triadic
#6C209A #9A6C20 #209A6C
tetradic
#6C209A #9A2F20 #4E9A20 #208B9A
square
#6C209A #9A2F20 #4E9A20 #208B9A
split-complementary
#6C209A #8B9A20 #209A2F
monochromatic
#250B35 #481567 #6C209A #902BCD #AA58DC

Accessibility & contrast

On white

9.09
#6C209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6C209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C209A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C209A#FFFFFF#000000##FFFFFF
##6C209A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#653F5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c209a;
/* rgb */ color: rgb(108, 32, 154);
/* oklch */ color: oklch(42.7% 0.186 308.6);
Tailwind
colors: {
  custom: {
    50: '#9b65b9',
    500: '#6c209a',
    950: '#000000',
  },
}
SCSS
$custom: #6c209a;
$custom-light: #9b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c209a",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 277.377,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.18597,
    "h": 308.6
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#6C209A
secondary
#7EC056
accent
#E93F7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C209A

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

Preview Lab → · Contrast checker → · Palette generator →

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