#6A208B#6A208B

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

Color values

HEX#6A208B
RGBrgb(106, 32, 139)
HSLhsl(281, 63%, 34%)
HSVhsv(281, 77%, 55%)
CMYKcmyk(23.7%, 77%, 0%, 45.5%)
CIE-LABlab(29.32, 49.22, -44.32)
CIE-LCHlch(29.32, 66.23, 318.00°)
OKLaboklab(41.26% 0.1163 -0.1253)
OKLCHoklch(41.26% 0.171 312.9)
XYZxyz(11.1197, 5.9616, 24.9860)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A208B #418B20
analogous
#34208B #6A208B #8B2076
triadic
#6A208B #8B6A20 #208B6A
tetradic
#6A208B #8B3420 #418B20 #20768B
square
#6A208B #8B3420 #418B20 #20768B
split-complementary
#6A208B #768B20 #208B34
monochromatic
#1E0928 #441559 #6A208B #902BBD #AD4FD6

Accessibility & contrast

On white

9.58
#6A208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A208B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A208B#FFFFFF#000000##FFFFFF
##6A208B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#663954
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a208b;
/* rgb */ color: rgb(106, 32, 139);
/* oklch */ color: oklch(41.3% 0.171 312.9);
Tailwind
colors: {
  custom: {
    50: '#9964ae',
    500: '#6a208b',
    950: '#000000',
  },
}
SCSS
$custom: #6a208b;
$custom-light: #9964ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6a208b",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 281.495,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41264,
    "c": 0.17091,
    "h": 312.9
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#6A208B
secondary
#6FBA4D
accent
#E64275
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A208B

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

Preview Lab → · Contrast checker → · Palette generator →

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