#6B1674#6B1674

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

Color values

HEX#6B1674
RGBrgb(107, 22, 116)
HSLhsl(294, 68%, 27%)
HSVhsv(294, 81%, 45%)
CMYKcmyk(7.8%, 81%, 0%, 54.5%)
CIE-LABlab(26.62, 48.34, -34.16)
CIE-LCHlch(26.62, 59.19, 324.75°)
OKLaboklab(38.88% 0.1298 -0.0954)
OKLCHoklch(38.88% 0.161 323.7)
XYZxyz(9.5024, 4.9612, 16.9767)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1674 #1F7416
analogous
#3C1674 #6B1674 #74164E
triadic
#6B1674 #746B16 #16746B
tetradic
#6B1674 #743C16 #1F7416 #164E74
square
#6B1674 #743C16 #1F7416 #164E74
split-complementary
#6B1674 #4E7416 #16743C
monochromatic
#18051A #3C0C41 #6B1674 #9A20A7 #C72DD7

Accessibility & contrast

On white

10.54
#6B1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1674
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1674#FFFFFF#000000##FFFFFF
##6B16741.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.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: #6b1674;
/* rgb */ color: rgb(107, 22, 116);
/* oklch */ color: oklch(38.9% 0.161 323.7);
Tailwind
colors: {
  custom: {
    50: '#995f9c',
    500: '#6b1674',
    950: '#000000',
  },
}
SCSS
$custom: #6b1674;
$custom-light: #995f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1674",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 294.255,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.16111,
    "h": 323.7
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#6B1674
secondary
#47AA3C
accent
#EB3D4D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1674

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

Preview Lab → · Contrast checker → · Palette generator →

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