#6B1976#6B1976

#6B1976 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.160 H 322.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#6B1976
RGBrgb(107, 25, 118)
HSLhsl(293, 65%, 28%)
HSVhsv(293, 79%, 46%)
CMYKcmyk(9.3%, 78.8%, 0%, 53.7%)
CIE-LABlab(27.10, 47.72, -34.67)
CIE-LCHlch(27.10, 58.99, 324.00°)
OKLaboklab(39.26% 0.127 -0.0969)
OKLCHoklch(39.26% 0.16 322.6)
XYZxyz(9.6807, 5.1296, 17.6162)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1976 #247619
analogous
#3C1976 #6B1976 #761952
triadic
#6B1976 #766B19 #19766B
tetradic
#6B1976 #763C19 #247619 #195276
square
#6B1976 #763C19 #247619 #195276
split-complementary
#6B1976 #527619 #19763C
monochromatic
#170519 #3D0E43 #6B1976 #9924A8 #C135D4

Accessibility & contrast

On white

10.37
#6B1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6B1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1976
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1976#FFFFFF#000000##FFFFFF
##6B19761.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#6D2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1976;
/* rgb */ color: rgb(107, 25, 118);
/* oklch */ color: oklch(39.3% 0.160 322.6);
Tailwind
colors: {
  custom: {
    50: '#99609e',
    500: '#6b1976',
    950: '#000000',
  },
}
SCSS
$custom: #6b1976;
$custom-light: #99609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1976",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 292.903,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.15973,
    "h": 322.6
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#6B1976
secondary
#4DAB40
accent
#E84054
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1976

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

Preview Lab → · Contrast checker → · Palette generator →

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