#6B277C#6B277C

#6B277C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.148 H 319.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6B277C
RGBrgb(107, 39, 124)
HSLhsl(288, 52%, 32%)
HSVhsv(288, 69%, 49%)
CMYKcmyk(13.7%, 68.5%, 0%, 51.4%)
CIE-LABlab(29.49, 43.26, -34.64)
CIE-LCHlch(29.49, 55.42, 321.31°)
OKLaboklab(41.1% 0.1115 -0.0969)
OKLCHoklch(41.1% 0.148 319)
XYZxyz(10.4265, 6.0325, 19.6801)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B277C #387C27
analogous
#41277C #6B277C #7C2763
triadic
#6B277C #7C6B27 #277C6B
tetradic
#6B277C #7C4127 #387C27 #27637C
square
#6B277C #7C4127 #387C27 #27637C
split-complementary
#6B277C #637C27 #277C41
monochromatic
#1B0A1F #43184D #6B277C #9336AB #B254C9

Accessibility & contrast

On white

9.52
#6B277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B277C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B277C#FFFFFF#000000##FFFFFF
##6B277C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#6B364E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b277c;
/* rgb */ color: rgb(107, 39, 124);
/* oklch */ color: oklch(41.1% 0.148 319.0);
Tailwind
colors: {
  custom: {
    50: '#9867a2',
    500: '#6b277c',
    950: '#000000',
  },
}
SCSS
$custom: #6b277c;
$custom-light: #9867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b277c",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 288,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.14771,
    "h": 319
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#6B277C
secondary
#63AE51
accent
#DC4C69
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B277C

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

Preview Lab → · Contrast checker → · Palette generator →

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