#6A209C#6A209C

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

Color values

HEX#6A209C
RGBrgb(106, 32, 156)
HSLhsl(276, 66%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(32.1%, 79.5%, 0%, 38.8%)
CIE-LABlab(30.63, 52.98, -52.63)
CIE-LCHlch(30.63, 74.68, 315.19°)
OKLaboklab(42.61% 0.1127 -0.1497)
OKLCHoklch(42.61% 0.187 307)
XYZxyz(12.4598, 6.4976, 32.0438)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A209C #529C20
analogous
#2C209C #6A209C #9C2090
triadic
#6A209C #9C6A20 #209C6A
tetradic
#6A209C #9C2C20 #529C20 #20909C
square
#6A209C #9C2C20 #529C20 #20909C
split-complementary
#6A209C #909C20 #209C2C
monochromatic
#250B36 #471669 #6A209C #8D2ACF #A859DD

Accessibility & contrast

On white

9.13
#6A209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A209C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A209C#FFFFFF#000000##FFFFFF
##6A209C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a209c;
/* rgb */ color: rgb(106, 32, 156);
/* oklch */ color: oklch(42.6% 0.187 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a65ba',
    500: '#6a209c',
    950: '#000000',
  },
}
SCSS
$custom: #6a209c;
$custom-light: #9a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a209c",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 275.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.18737,
    "h": 307
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#6A209C
secondary
#82C157
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A209C

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

Preview Lab → · Contrast checker → · Palette generator →

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