#6B209B#6B209B

#6B209B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.187 H 307.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6B209B
RGBrgb(107, 32, 155)
HSLhsl(277, 66%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(31%, 79.4%, 0%, 39.2%)
CIE-LABlab(30.70, 52.94, -51.90)
CIE-LCHlch(30.70, 74.14, 315.56°)
OKLaboklab(42.66% 0.1143 -0.1475)
OKLCHoklch(42.66% 0.187 307.8)
XYZxyz(12.4951, 6.5256, 31.6053)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B209B #509B20
analogous
#2D209B #6B209B #9B208E
triadic
#6B209B #9B6B20 #209B6B
tetradic
#6B209B #9B2D20 #509B20 #208E9B
square
#6B209B #9B2D20 #509B20 #208E9B
split-complementary
#6B209B #8E9B20 #209B2D
monochromatic
#250B36 #481668 #6B209B #8E2ACE #A959DD

Accessibility & contrast

On white

9.11
#6B209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B209B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B209B#FFFFFF#000000##FFFFFF
##6B209B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#633F5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b209b;
/* rgb */ color: rgb(107, 32, 155);
/* oklch */ color: oklch(42.7% 0.187 307.8);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6b209b',
    950: '#000000',
  },
}
SCSS
$custom: #6b209b;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b209b",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 276.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.18667,
    "h": 307.8
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B209B

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

Preview Lab → · Contrast checker → · Palette generator →

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