#6B1772#6B1772

#6B1772 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.158 H 324.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6B1772
RGBrgb(107, 23, 114)
HSLhsl(295, 66%, 27%)
HSVhsv(295, 80%, 45%)
CMYKcmyk(6.1%, 79.8%, 0%, 55.3%)
CIE-LABlab(26.60, 47.64, -32.91)
CIE-LCHlch(26.60, 57.90, 325.37°)
OKLaboklab(38.82% 0.1291 -0.0918)
OKLCHoklch(38.82% 0.158 324.6)
XYZxyz(9.4068, 4.9541, 16.3771)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1772 #1E7217
analogous
#3E1772 #6B1772 #72174C
triadic
#6B1772 #726B17 #17726B
tetradic
#6B1772 #723E17 #1E7217 #174C72
square
#6B1772 #723E17 #1E7217 #174C72
split-complementary
#6B1772 #4C7217 #17723E
monochromatic
#180519 #3B0D3F #6B1772 #9B21A5 #C82ED5

Accessibility & contrast

On white

10.55
#6B1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6B1772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1772
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1772#FFFFFF#000000##FFFFFF
##6B17721.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#6D2844
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1772;
/* rgb */ color: rgb(107, 23, 114);
/* oklch */ color: oklch(38.8% 0.158 324.6);
Tailwind
colors: {
  custom: {
    50: '#995f9b',
    500: '#6b1772',
    950: '#000000',
  },
}
SCSS
$custom: #6b1772;
$custom-light: #995f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1772",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 295.385,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.1584,
    "h": 324.6
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#6B1772
secondary
#45A83D
accent
#E93E4C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1772

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

Preview Lab → · Contrast checker → · Palette generator →

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