#6B2279#6B2279

#6B2279 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.152 H 320.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6B2279
RGBrgb(107, 34, 121)
HSLhsl(290, 56%, 30%)
HSVhsv(290, 72%, 47%)
CMYKcmyk(11.6%, 71.9%, 0%, 52.5%)
CIE-LABlab(28.51, 44.85, -34.31)
CIE-LCHlch(28.51, 56.47, 322.58°)
OKLaboklab(40.33% 0.1174 -0.0959)
OKLCHoklch(40.33% 0.152 320.8)
XYZxyz(10.0862, 5.6508, 18.6449)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2279 #307922
analogous
#3F2279 #6B2279 #79225B
triadic
#6B2279 #796B22 #22796B
tetradic
#6B2279 #793F22 #307922 #225B79
square
#6B2279 #793F22 #307922 #225B79
split-complementary
#6B2279 #5B7922 #22793F
monochromatic
#170719 #411549 #6B2279 #952FA9 #B749CC

Accessibility & contrast

On white

9.86
#6B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2279
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2279#FFFFFF#000000##FFFFFF
##6B22791.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#6C324B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b2279;
/* rgb */ color: rgb(107, 34, 121);
/* oklch */ color: oklch(40.3% 0.152 320.8);
Tailwind
colors: {
  custom: {
    50: '#9864a0',
    500: '#6b2279',
    950: '#000000',
  },
}
SCSS
$custom: #6b2279;
$custom-light: #9864a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2279",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 290.345,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.15165,
    "h": 320.8
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#6B2279
secondary
#5BAC4B
accent
#DF4861
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6B2279

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

Preview Lab → · Contrast checker → · Palette generator →

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