#6B209C#6B209C

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

Color values

HEX#6B209C
RGBrgb(107, 32, 156)
HSLhsl(276, 66%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(31.4%, 79.5%, 0%, 38.8%)
CIE-LABlab(30.78, 53.16, -52.38)
CIE-LCHlch(30.78, 74.63, 315.42°)
OKLaboklab(42.74% 0.1141 -0.1489)
OKLCHoklch(42.74% 0.188 307.5)
XYZxyz(12.5794, 6.5593, 32.0494)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B209C #519C20
analogous
#2D209C #6B209C #9C208F
triadic
#6B209C #9C6B20 #209C6B
tetradic
#6B209C #9C2D20 #519C20 #208F9C
square
#6B209C #9C2D20 #519C20 #208F9C
split-complementary
#6B209C #8F9C20 #209C2D
monochromatic
#250B36 #481669 #6B209C #8E2ACF #A959DD

Accessibility & contrast

On white

9.08
#6B209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B209C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B209C#FFFFFF#000000##FFFFFF
##6B209C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b209c;
/* rgb */ color: rgb(107, 32, 156);
/* oklch */ color: oklch(42.7% 0.188 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a65ba',
    500: '#6b209c',
    950: '#000000',
  },
}
SCSS
$custom: #6b209c;
$custom-light: #9a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b209c",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 276.29,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.18762,
    "h": 307.5
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#6B209C
secondary
#81C157
accent
#E93F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B209C

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

Preview Lab → · Contrast checker → · Palette generator →

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