#6A1680#6A1680

#6A1680 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.171 H 317.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#6A1680
RGBrgb(106, 22, 128)
HSLhsl(288, 71%, 29%)
HSVhsv(288, 83%, 50%)
CMYKcmyk(17.2%, 82.8%, 0%, 49.8%)
CIE-LABlab(27.29, 50.44, -40.71)
CIE-LCHlch(27.29, 64.82, 321.09°)
OKLaboklab(39.58% 0.127 -0.1146)
OKLCHoklch(39.58% 0.171 317.9)
XYZxyz(10.1265, 5.1970, 20.8876)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1680 #2C8016
analogous
#351680 #6A1680 #801661
triadic
#6A1680 #806A16 #16806A
tetradic
#6A1680 #803516 #2C8016 #166180
square
#6A1680 #803516 #2C8016 #166180
split-complementary
#6A1680 #618016 #168035
monochromatic
#16041A #3F0D4C #6A1680 #951FB4 #B934DC

Accessibility & contrast

On white

10.30
#6A1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6A1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1680
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1680#FFFFFF#000000##FFFFFF
##6A16801.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#692F4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1680;
/* rgb */ color: rgb(106, 22, 128);
/* oklch */ color: oklch(39.6% 0.171 317.9);
Tailwind
colors: {
  custom: {
    50: '#985fa5',
    500: '#6a1680',
    950: '#000000',
  },
}
SCSS
$custom: #6a1680;
$custom-light: #985fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1680",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 287.547,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.17107,
    "h": 317.9
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#6A1680
secondary
#56B53D
accent
#ED3A60
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A1680

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

Preview Lab → · Contrast checker → · Palette generator →

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