#6B277E#6B277E

#6B277E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.150 H 318.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6B277E
RGBrgb(107, 39, 126)
HSLhsl(287, 53%, 32%)
HSVhsv(287, 69%, 49%)
CMYKcmyk(15.1%, 69%, 0%, 50.6%)
CIE-LABlab(29.62, 43.68, -35.69)
CIE-LCHlch(29.62, 56.41, 320.74°)
OKLaboklab(41.23% 0.1114 -0.1)
OKLCHoklch(41.23% 0.15 318.1)
XYZxyz(10.5543, 6.0836, 20.3529)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B277E #3A7E27
analogous
#40277E #6B277E #7E2765
triadic
#6B277E #7E6B27 #277E6B
tetradic
#6B277E #7E4027 #3A7E27 #27657E
square
#6B277E #7E4027 #3A7E27 #27657E
split-complementary
#6B277E #657E27 #277E40
monochromatic
#1C0A21 #43194F #6B277E #9335AD #B155CA

Accessibility & contrast

On white

9.47
#6B277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B277E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B277E#FFFFFF#000000##FFFFFF
##6B277E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#6B374F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b277e;
/* rgb */ color: rgb(107, 39, 126);
/* oklch */ color: oklch(41.2% 0.150 318.1);
Tailwind
colors: {
  custom: {
    50: '#9867a4',
    500: '#6b277e',
    950: '#000000',
  },
}
SCSS
$custom: #6b277e;
$custom-light: #9867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b277e",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 286.897,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.14971,
    "h": 318.1
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#6B277E
secondary
#66AF52
accent
#DC4C6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B277E

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

Preview Lab → · Contrast checker → · Palette generator →

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