#6A209D#6A209D

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

Color values

HEX#6A209D
RGBrgb(106, 32, 157)
HSLhsl(276, 66%, 37%)
HSVhsv(276, 80%, 62%)
CMYKcmyk(32.5%, 79.6%, 0%, 38.4%)
CIE-LABlab(30.72, 53.21, -53.10)
CIE-LCHlch(30.72, 75.18, 315.06°)
OKLaboklab(42.69% 0.1124 -0.1511)
OKLCHoklch(42.69% 0.188 306.6)
XYZxyz(12.5448, 6.5317, 32.4916)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A209D #539D20
analogous
#2B209D #6A209D #9D2092
triadic
#6A209D #9D6A20 #209D6A
tetradic
#6A209D #9D2B20 #539D20 #20929D
square
#6A209D #9D2B20 #539D20 #20929D
split-complementary
#6A209D #929D20 #209D2B
monochromatic
#250B37 #48166A #6A209D #8C2AD0 #A85ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A209D#FFFFFF#000000##FFFFFF
##6A209D1.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)
#0046A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#61405E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a209d;
/* rgb */ color: rgb(106, 32, 157);
/* oklch */ color: oklch(42.7% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#9a65bb',
    500: '#6a209d',
    950: '#000000',
  },
}
SCSS
$custom: #6a209d;
$custom-light: #9a65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a209d",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 275.52,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.18834,
    "h": 306.6
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#6A209D
secondary
#83C157
accent
#E93F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A209D

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

Preview Lab → · Contrast checker → · Palette generator →

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