#6B1774#6B1774

#6B1774 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.160 H 323.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#6B1774
RGBrgb(107, 23, 116)
HSLhsl(294, 67%, 27%)
HSVhsv(294, 80%, 45%)
CMYKcmyk(7.8%, 80.2%, 0%, 54.5%)
CIE-LABlab(26.74, 48.02, -33.98)
CIE-LCHlch(26.74, 58.82, 324.72°)
OKLaboklab(38.96% 0.129 -0.0949)
OKLCHoklch(38.96% 0.16 323.7)
XYZxyz(9.5219, 5.0001, 16.9832)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1774 #207417
analogous
#3D1774 #6B1774 #74174E
triadic
#6B1774 #746B17 #17746B
tetradic
#6B1774 #743D17 #207417 #174E74
square
#6B1774 #743D17 #207417 #174E74
split-complementary
#6B1774 #4E7417 #17743D
monochromatic
#18051A #3C0D41 #6B1774 #9A21A7 #C630D6

Accessibility & contrast

On white

10.50
#6B1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6B1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1774
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1774#FFFFFF#000000##FFFFFF
##6B17741.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#6D2945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1774;
/* rgb */ color: rgb(107, 23, 116);
/* oklch */ color: oklch(39.0% 0.160 323.7);
Tailwind
colors: {
  custom: {
    50: '#995f9c',
    500: '#6b1774',
    950: '#000000',
  },
}
SCSS
$custom: #6b1774;
$custom-light: #995f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1774",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 294.194,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.16009,
    "h": 323.7
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#6B1774
secondary
#48A93D
accent
#EA3E4F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1774

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

Preview Lab → · Contrast checker → · Palette generator →

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