#6A209B#6A209B

#6A209B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.186 H 307.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6A209B
RGBrgb(106, 32, 155)
HSLhsl(276, 66%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(31.6%, 79.4%, 0%, 39.2%)
CIE-LABlab(30.55, 52.76, -52.15)
CIE-LCHlch(30.55, 74.18, 315.33°)
OKLaboklab(42.52% 0.1129 -0.1483)
OKLCHoklch(42.52% 0.186 307.3)
XYZxyz(12.3755, 6.4639, 31.5997)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A209B #519B20
analogous
#2D209B #6A209B #9B208F
triadic
#6A209B #9B6A20 #209B6A
tetradic
#6A209B #9B2D20 #519B20 #208F9B
square
#6A209B #9B2D20 #519B20 #208F9B
split-complementary
#6A209B #8F9B20 #209B2D
monochromatic
#250B36 #471668 #6A209B #8D2ACE #A859DD

Accessibility & contrast

On white

9.16
#6A209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A209B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A209B#FFFFFF#000000##FFFFFF
##6A209B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a209b;
/* rgb */ color: rgb(106, 32, 155);
/* oklch */ color: oklch(42.5% 0.186 307.3);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6a209b',
    950: '#000000',
  },
}
SCSS
$custom: #6a209b;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a209b",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 276.098,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.1864,
    "h": 307.3
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#6A209B
secondary
#81C156
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A209B

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

Preview Lab → · Contrast checker → · Palette generator →

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