#6A208D#6A208D

#6A208D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.173 H 312.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6A208D
RGBrgb(106, 32, 141)
HSLhsl(281, 63%, 34%)
HSVhsv(281, 77%, 55%)
CMYKcmyk(24.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(29.46, 49.65, -45.31)
CIE-LCHlch(29.46, 67.22, 317.62°)
OKLaboklab(41.42% 0.1159 -0.1282)
OKLCHoklch(41.42% 0.173 312.1)
XYZxyz(11.2672, 6.0206, 25.7627)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A208D #438D20
analogous
#34208D #6A208D #8D207A
triadic
#6A208D #8D6A20 #208D6A
tetradic
#6A208D #8D3420 #438D20 #207A8D
square
#6A208D #8D3420 #438D20 #207A8D
split-complementary
#6A208D #7A8D20 #208D34
monochromatic
#1F0929 #45155B #6A208D #8F2BBF #AC50D7

Accessibility & contrast

On white

9.53
#6A208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A208D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A208D#FFFFFF#000000##FFFFFF
##6A208D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#0F478B
Tritanopia (blue-blind)
#663955
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a208d;
/* rgb */ color: rgb(106, 32, 141);
/* oklch */ color: oklch(41.4% 0.173 312.1);
Tailwind
colors: {
  custom: {
    50: '#9964af',
    500: '#6a208d',
    950: '#000000',
  },
}
SCSS
$custom: #6a208d;
$custom-light: #9964af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a208d",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 280.734,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.17284,
    "h": 312.1
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#6A208D
secondary
#71BA4E
accent
#E64277
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A208D

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

Preview Lab → · Contrast checker → · Palette generator →

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