#6A209A#6A209A

#6A209A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.185 H 307.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6A209A
RGBrgb(106, 32, 154)
HSLhsl(276, 66%, 36%)
HSVhsv(276, 79%, 60%)
CMYKcmyk(31.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(30.47, 52.53, -51.67)
CIE-LCHlch(30.47, 73.69, 315.47°)
OKLaboklab(42.44% 0.1132 -0.1469)
OKLCHoklch(42.44% 0.185 307.6)
XYZxyz(12.2919, 6.4305, 31.1592)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A209A #509A20
analogous
#2D209A #6A209A #9A208D
triadic
#6A209A #9A6A20 #209A6A
tetradic
#6A209A #9A2D20 #509A20 #208D9A
square
#6A209A #9A2D20 #509A20 #208D9A
split-complementary
#6A209A #8D9A20 #209A2D
monochromatic
#240B35 #471567 #6A209A #8D2BCD #A858DC

Accessibility & contrast

On white

9.19
#6A209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A209A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A209A#FFFFFF#000000##FFFFFF
##6A209A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#623F5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a209a;
/* rgb */ color: rgb(106, 32, 154);
/* oklch */ color: oklch(42.4% 0.185 307.6);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6a209a',
    950: '#000000',
  },
}
SCSS
$custom: #6a209a;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a209a",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 276.393,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.18543,
    "h": 307.6
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#6A209A
secondary
#80C056
accent
#E93F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A209A

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

Preview Lab → · Contrast checker → · Palette generator →

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