#6C2F79#6C2F79

#6C2F79 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.133 H 320.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6C2F79
RGBrgb(108, 47, 121)
HSLhsl(289, 44%, 33%)
HSVhsv(289, 61%, 47%)
CMYKcmyk(10.7%, 61.2%, 0%, 52.5%)
CIE-LABlab(30.88, 38.98, -30.53)
CIE-LCHlch(30.88, 49.51, 321.93°)
OKLaboklab(42.07% 0.1023 -0.085)
OKLCHoklch(42.07% 0.133 320.3)
XYZxyz(10.6516, 6.6021, 18.7987)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2F79 #3C792F
analogous
#472F79 #6C2F79 #792F61
triadic
#6C2F79 #796C2F #2F796C
tetradic
#6C2F79 #79472F #3C792F #2F6179
square
#6C2F79 #79472F #3C792F #2F6179
split-complementary
#6C2F79 #61792F #2F7947
monochromatic
#1D0D21 #451E4D #6C2F79 #9340A5 #B161C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C2F79#FFFFFF#000000##FFFFFF
##6C2F791.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)
#1F447B
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#6D3A4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2f79;
/* rgb */ color: rgb(108, 47, 121);
/* oklch */ color: oklch(42.1% 0.133 320.3);
Tailwind
colors: {
  custom: {
    50: '#986ba0',
    500: '#6c2f79',
    950: '#000000',
  },
}
SCSS
$custom: #6c2f79;
$custom-light: #986ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2f79",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 289.459,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.13299,
    "h": 320.3
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#6C2F79
secondary
#69A85B
accent
#D4546A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6C2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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