#6B277A#6B277A

#6B277A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.146 H 319.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6B277A
RGBrgb(107, 39, 122)
HSLhsl(289, 52%, 32%)
HSVhsv(289, 68%, 48%)
CMYKcmyk(12.3%, 68%, 0%, 52.2%)
CIE-LABlab(29.37, 42.84, -33.58)
CIE-LCHlch(29.37, 54.43, 321.91°)
OKLaboklab(40.96% 0.1115 -0.0938)
OKLCHoklch(40.96% 0.146 319.9)
XYZxyz(10.3013, 5.9825, 19.0207)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B277A #367A27
analogous
#42277A #6B277A #7A2760
triadic
#6B277A #7A6B27 #277A6B
tetradic
#6B277A #7A4227 #367A27 #27607A
square
#6B277A #7A4227 #367A27 #27607A
split-complementary
#6B277A #607A27 #277A42
monochromatic
#1A091D #42184C #6B277A #9436A8 #B353C8

Accessibility & contrast

On white

9.56
#6B277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B277A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B277A#FFFFFF#000000##FFFFFF
##6B277A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#6B354D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b277a;
/* rgb */ color: rgb(107, 39, 122);
/* oklch */ color: oklch(41.0% 0.146 319.9);
Tailwind
colors: {
  custom: {
    50: '#9867a1',
    500: '#6b277a',
    950: '#000000',
  },
}
SCSS
$custom: #6b277a;
$custom-light: #9867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b277a",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 289.157,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.14573,
    "h": 319.9
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#6B277A
secondary
#61AC51
accent
#DB4D66
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6B277A

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

Preview Lab → · Contrast checker → · Palette generator →

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