#6B276F#6B276F

#6B276F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.135 H 325.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6B276F
RGBrgb(107, 39, 111)
HSLhsl(297, 48%, 29%)
HSVhsv(297, 65%, 44%)
CMYKcmyk(3.6%, 64.9%, 0%, 56.5%)
CIE-LABlab(28.71, 40.61, -27.64)
CIE-LCHlch(28.71, 49.13, 325.76°)
OKLaboklab(40.27% 0.1112 -0.0766)
OKLCHoklch(40.27% 0.135 325.5)
XYZxyz(9.6580, 5.7251, 15.6322)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B276F #2B6F27
analogous
#47276F #6B276F #6F274F
triadic
#6B276F #6F6B27 #276F6B
tetradic
#6B276F #6F4727 #2B6F27 #274F6F
square
#6B276F #6F4727 #2B6F27 #274F6F
split-complementary
#6B276F #4F6F27 #276F47
monochromatic
#160817 #3F1742 #6B276F #97379C #BB4FC1

Accessibility & contrast

On white

9.79
#6B276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6B276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B276F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B276F#FFFFFF#000000##FFFFFF
##6B276F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#6E3147
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b276f;
/* rgb */ color: rgb(107, 39, 111);
/* oklch */ color: oklch(40.3% 0.135 325.5);
Tailwind
colors: {
  custom: {
    50: '#986698',
    500: '#6b276f',
    950: '#000000',
  },
}
SCSS
$custom: #6b276f;
$custom-light: #986698;
$custom-dark: #000000;
JSON
{
  "hex": "#6b276f",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 296.667,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.13504,
    "h": 325.5
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#6B276F
secondary
#55A250
accent
#D85058
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B276F

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

Preview Lab → · Contrast checker → · Palette generator →

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