#6A208C#6A208C

#6A208C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.172 H 312.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6A208C
RGBrgb(106, 32, 140)
HSLhsl(281, 63%, 34%)
HSVhsv(281, 77%, 55%)
CMYKcmyk(24.3%, 77.1%, 0%, 45.1%)
CIE-LABlab(29.39, 49.43, -44.82)
CIE-LCHlch(29.39, 66.72, 317.81°)
OKLaboklab(41.34% 0.1161 -0.1267)
OKLCHoklch(41.34% 0.172 312.5)
XYZxyz(11.1931, 5.9910, 25.3726)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A208C #428C20
analogous
#34208C #6A208C #8C2078
triadic
#6A208C #8C6A20 #208C6A
tetradic
#6A208C #8C3420 #428C20 #20788C
square
#6A208C #8C3420 #428C20 #20788C
split-complementary
#6A208C #788C20 #208C34
monochromatic
#1F0928 #44155A #6A208C #902BBE #AC50D7

Accessibility & contrast

On white

9.55
#6A208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6A208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A208C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A208C#FFFFFF#000000##FFFFFF
##6A208C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#663955
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a208c;
/* rgb */ color: rgb(106, 32, 140);
/* oklch */ color: oklch(41.3% 0.172 312.5);
Tailwind
colors: {
  custom: {
    50: '#9964ae',
    500: '#6a208c',
    950: '#000000',
  },
}
SCSS
$custom: #6a208c;
$custom-light: #9964ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6a208c",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 281.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.17187,
    "h": 312.5
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#6A208C
secondary
#70BA4E
accent
#E64276
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A208C

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

Preview Lab → · Contrast checker → · Palette generator →

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