#6B2F76#6B2F76

#6B2F76 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.129 H 321.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6B2F76
RGBrgb(107, 47, 118)
HSLhsl(291, 43%, 32%)
HSVhsv(291, 60%, 46%)
CMYKcmyk(9.3%, 60.2%, 0%, 53.7%)
CIE-LABlab(30.56, 38.06, -29.16)
CIE-LCHlch(30.56, 47.95, 322.55°)
OKLaboklab(41.75% 0.1008 -0.081)
OKLCHoklch(41.75% 0.129 321.2)
XYZxyz(10.3496, 6.4673, 17.8392)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F76 #3A762F
analogous
#472F76 #6B2F76 #762F5E
triadic
#6B2F76 #766B2F #2F766B
tetradic
#6B2F76 #76472F #3A762F #2F5E76
square
#6B2F76 #76472F #3A762F #2F5E76
split-complementary
#6B2F76 #5E762F #2F7647
monochromatic
#1C0C1E #431E4A #6B2F76 #9340A2 #B160C0

Accessibility & contrast

On white

9.16
#6B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F76
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F76#FFFFFF#000000##FFFFFF
##6B2F761.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#6C3A4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2f76;
/* rgb */ color: rgb(107, 47, 118);
/* oklch */ color: oklch(41.8% 0.129 321.2);
Tailwind
colors: {
  custom: {
    50: '#976b9e',
    500: '#6b2f76',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f76;
$custom-light: #976b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f76",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 290.704,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.12933,
    "h": 321.2
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#6B2F76
secondary
#66A75A
accent
#D35568
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6B2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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