#6A1685#6A1685

#6A1685 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.175 H 315.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6A1685
RGBrgb(106, 22, 133)
HSLhsl(285, 72%, 30%)
HSVhsv(285, 83%, 52%)
CMYKcmyk(20.3%, 83.5%, 0%, 47.8%)
CIE-LABlab(27.66, 51.45, -43.25)
CIE-LCHlch(27.66, 67.21, 319.95°)
OKLaboklab(39.96% 0.126 -0.1221)
OKLCHoklch(39.96% 0.175 315.9)
XYZxyz(10.4637, 5.3319, 22.6637)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1685 #318516
analogous
#321685 #6A1685 #851669
triadic
#6A1685 #856A16 #16856A
tetradic
#6A1685 #853216 #318516 #166985
square
#6A1685 #853216 #318516 #166985
split-complementary
#6A1685 #698516 #168532
monochromatic
#16051C #400D50 #6A1685 #941FBA #B537DE

Accessibility & contrast

On white

10.16
#6A1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6A1685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1685
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1685#FFFFFF#000000##FFFFFF
##6A16851.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#134383
Tritanopia (blue-blind)
#68314F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1685;
/* rgb */ color: rgb(106, 22, 133);
/* oklch */ color: oklch(40.0% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#9960a9',
    500: '#6a1685',
    950: '#000000',
  },
}
SCSS
$custom: #6a1685;
$custom-light: #9960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1685",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 285.405,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.17548,
    "h": 315.9
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#6A1685
secondary
#5CB93E
accent
#EE3965
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A1685

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

Preview Lab → · Contrast checker → · Palette generator →

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