#6B1670#6B1670

#6B1670 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 325.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#6B1670
RGBrgb(107, 22, 112)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 80%, 44%)
CMYKcmyk(4.5%, 80.4%, 0%, 56.1%)
CIE-LABlab(26.36, 47.60, -32.01)
CIE-LCHlch(26.36, 57.36, 326.08°)
OKLaboklab(38.61% 0.1301 -0.0891)
OKLCHoklch(38.61% 0.158 325.6)
XYZxyz(9.2747, 4.8701, 15.7776)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1670 #1B7016
analogous
#3E1670 #6B1670 #701648
triadic
#6B1670 #706B16 #16706B
tetradic
#6B1670 #703E16 #1B7016 #164870
square
#6B1670 #703E16 #1B7016 #164870
split-complementary
#6B1670 #487016 #16703E
monochromatic
#18051A #3A0C3D #6B1670 #9C20A3 #CC2BD5

Accessibility & contrast

On white

10.64
#6B1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6B1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1670
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1670#FFFFFF#000000##FFFFFF
##6B16701.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#6E2743
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1670;
/* rgb */ color: rgb(107, 22, 112);
/* oklch */ color: oklch(38.6% 0.158 325.6);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6b1670',
    950: '#000000',
  },
}
SCSS
$custom: #6b1670;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1670",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 296.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.15773,
    "h": 325.6
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#6B1670
secondary
#42A63C
accent
#EA3E47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1670

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

Preview Lab → · Contrast checker → · Palette generator →

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