#6B3271#6B3271

#6B3271 is a dark, moderate purple. Relative luminance 0.066; OKLCH L 41.9% C 0.119 H 323.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6B3271
RGBrgb(107, 50, 113)
HSLhsl(294, 39%, 32%)
HSVhsv(294, 56%, 44%)
CMYKcmyk(5.3%, 55.8%, 0%, 55.7%)
CIE-LABlab(30.88, 35.42, -25.50)
CIE-LCHlch(30.88, 43.65, 324.26°)
OKLaboklab(41.89% 0.0959 -0.0704)
OKLCHoklch(41.89% 0.119 323.7)
XYZxyz(10.1844, 6.5998, 16.3570)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3271 #387132
analogous
#4C3271 #6B3271 #713258
triadic
#6B3271 #716B32 #32716B
tetradic
#6B3271 #714C32 #387132 #325871
square
#6B3271 #714C32 #387132 #325871
split-complementary
#6B3271 #587132 #32714C
monochromatic
#1B0C1C #431F47 #6B3271 #93459B #B263BA

Accessibility & contrast

On white

9.05
#6B3271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B3271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3271
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3271#FFFFFF#000000##FFFFFF
##6B32711.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#6D3A4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b3271;
/* rgb */ color: rgb(107, 50, 113);
/* oklch */ color: oklch(41.9% 0.119 323.7);
Tailwind
colors: {
  custom: {
    50: '#976d9a',
    500: '#6b3271',
    950: '#000000',
  },
}
SCSS
$custom: #6b3271;
$custom-light: #976d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3271",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 294.286,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.11902,
    "h": 323.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#6B3271
secondary
#63A25D
accent
#CF5964
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6B3271

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

Preview Lab → · Contrast checker → · Palette generator →

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