#6B277F#6B277F

#6B277F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.151 H 317.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6B277F
RGBrgb(107, 39, 127)
HSLhsl(286, 53%, 33%)
HSVhsv(286, 69%, 50%)
CMYKcmyk(15.7%, 69.3%, 0%, 50.2%)
CIE-LABlab(29.69, 43.89, -36.22)
CIE-LCHlch(29.69, 56.90, 320.47°)
OKLaboklab(41.3% 0.1114 -0.1016)
OKLCHoklch(41.3% 0.151 317.6)
XYZxyz(10.6191, 6.1096, 20.6945)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B277F #3B7F27
analogous
#3F277F #6B277F #7F2767
triadic
#6B277F #7F6B27 #277F6B
tetradic
#6B277F #7F3F27 #3B7F27 #27677F
square
#6B277F #7F3F27 #3B7F27 #27677F
split-complementary
#6B277F #677F27 #277F3F
monochromatic
#1C0A21 #441950 #6B277F #9235AE #B055CB

Accessibility & contrast

On white

9.45
#6B277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B277F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B277F#FFFFFF#000000##FFFFFF
##6B277F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#6A3750
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b277f;
/* rgb */ color: rgb(107, 39, 127);
/* oklch */ color: oklch(41.3% 0.151 317.6);
Tailwind
colors: {
  custom: {
    50: '#9867a5',
    500: '#6b277f',
    950: '#000000',
  },
}
SCSS
$custom: #6b277f;
$custom-light: #9867a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b277f",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 286.364,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.15071,
    "h": 317.6
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#6B277F
secondary
#67B052
accent
#DC4B6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B277F

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

Preview Lab → · Contrast checker → · Palette generator →

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