#6B1074#6B1074

#6B1074 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.167 H 323.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#6B1074
RGBrgb(107, 16, 116)
HSLhsl(295, 76%, 26%)
HSVhsv(295, 86%, 45%)
CMYKcmyk(7.8%, 86.2%, 0%, 54.5%)
CIE-LABlab(26.03, 50.05, -35.10)
CIE-LCHlch(26.03, 61.13, 324.96°)
OKLaboklab(38.46% 0.1345 -0.0981)
OKLCHoklch(38.46% 0.167 323.9)
XYZxyz(9.4008, 4.7579, 16.9428)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1074 #197410
analogous
#391074 #6B1074 #74104B
triadic
#6B1074 #746B10 #10746B
tetradic
#6B1074 #743910 #197410 #104B74
square
#6B1074 #743910 #197410 #104B74
split-complementary
#6B1074 #4B7410 #107439
monochromatic
#19041B #39093E #6B1074 #9D17AA #CE1FE0

Accessibility & contrast

On white

10.76
#6B1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6B1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1074
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1074#FFFFFF#000000##FFFFFF
##6B10741.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#6D2644
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1074;
/* rgb */ color: rgb(107, 16, 116);
/* oklch */ color: oklch(38.5% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#995d9c',
    500: '#6b1074',
    950: '#000000',
  },
}
SCSS
$custom: #6b1074;
$custom-light: #995d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1074",
  "rgb": {
    "r": 107,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 294.6,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.1665,
    "h": 323.9
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#6B1074
secondary
#3FAB35
accent
#F23546
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1074

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

Preview Lab → · Contrast checker → · Palette generator →

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