#6D209B#6D209B

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

Color values

HEX#6D209B
RGBrgb(109, 32, 155)
HSLhsl(278, 66%, 37%)
HSVhsv(278, 79%, 61%)
CMYKcmyk(29.7%, 79.4%, 0%, 39.2%)
CIE-LABlab(31.00, 53.29, -51.41)
CIE-LCHlch(31.00, 74.05, 316.03°)
OKLaboklab(42.93% 0.1172 -0.146)
OKLCHoklch(42.93% 0.187 308.7)
XYZxyz(12.7384, 6.6510, 31.6167)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D209B #4E9B20
analogous
#30209B #6D209B #9B208C
triadic
#6D209B #9B6D20 #209B6D
tetradic
#6D209B #9B3020 #4E9B20 #208C9B
square
#6D209B #9B3020 #4E9B20 #208C9B
split-complementary
#6D209B #8C9B20 #209B30
monochromatic
#260B36 #491668 #6D209B #912ACE #AB59DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D209B#FFFFFF#000000##FFFFFF
##6D209B1.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)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#663F5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d209b;
/* rgb */ color: rgb(109, 32, 155);
/* oklch */ color: oklch(42.9% 0.187 308.7);
Tailwind
colors: {
  custom: {
    50: '#9c65b9',
    500: '#6d209b',
    950: '#000000',
  },
}
SCSS
$custom: #6d209b;
$custom-light: #9c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d209b",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 277.561,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.18721,
    "h": 308.7
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#6D209B
secondary
#7EC156
accent
#E93F7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D209B

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

Preview Lab → · Contrast checker → · Palette generator →

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