#6B1668#6B1668

#6B1668 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.151 H 329.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#6B1668
RGBrgb(107, 22, 104)
HSLhsl(302, 66%, 25%)
HSVhsv(302, 79%, 42%)
CMYKcmyk(0%, 79.4%, 2.8%, 58%)
CIE-LABlab(25.86, 46.18, -27.64)
CIE-LCHlch(25.86, 53.82, 329.10°)
OKLaboklab(38.09% 0.1304 -0.0764)
OKLCHoklch(38.09% 0.151 329.6)
XYZxyz(8.8489, 4.6998, 13.5351)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1668 #166B19
analogous
#44166B #6B1668 #6B163D
triadic
#6B1668 #686B16 #16686B
tetradic
#6B1668 #6B4416 #166B19 #163D6B
square
#6B1668 #6B4416 #166B19 #163D6B
split-complementary
#6B1668 #3D6B16 #166B44
monochromatic
#190519 #380C37 #6B1668 #9E2099 #D12BCB

Accessibility & contrast

On white

10.83
#6B1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6B1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1668
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1668#FFFFFF#000000##FFFFFF
##6B16681.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#6F223E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b1668;
/* rgb */ color: rgb(107, 22, 104);
/* oklch */ color: oklch(38.1% 0.151 329.6);
Tailwind
colors: {
  custom: {
    50: '#995e93',
    500: '#6b1668',
    950: '#000000',
  },
}
SCSS
$custom: #6b1668;
$custom-light: #995e93;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1668",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 302.118,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.15113,
    "h": 329.6
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#6B1668
secondary
#3BA13F
accent
#E9453F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B1668

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

Preview Lab → · Contrast checker → · Palette generator →

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