#6C2F83#6C2F83

#6C2F83 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.144 H 315.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C2F83
RGBrgb(108, 47, 131)
HSLhsl(284, 47%, 35%)
HSVhsv(284, 64%, 51%)
CMYKcmyk(17.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(31.49, 41.15, -35.84)
CIE-LCHlch(31.49, 54.57, 318.95°)
OKLaboklab(42.71% 0.1026 -0.1005)
OKLCHoklch(42.71% 0.144 315.6)
XYZxyz(11.2970, 6.8603, 22.1974)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2F83 #46832F
analogous
#422F83 #6C2F83 #832F70
triadic
#6C2F83 #836C2F #2F836C
tetradic
#6C2F83 #83422F #46832F #2F7083
square
#6C2F83 #83422F #46832F #2F7083
split-complementary
#6C2F83 #70832F #2F8342
monochromatic
#220F29 #471F56 #6C2F83 #913FB0 #AD65C8

Accessibility & contrast

On white

8.85
#6C2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2F83
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2F83#FFFFFF#000000##FFFFFF
##6C2F831.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#6A3E54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2f83;
/* rgb */ color: rgb(108, 47, 131);
/* oklch */ color: oklch(42.7% 0.144 315.6);
Tailwind
colors: {
  custom: {
    50: '#996ca7',
    500: '#6c2f83',
    950: '#000000',
  },
}
SCSS
$custom: #6c2f83;
$custom-light: #996ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2f83",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 283.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.14356,
    "h": 315.6
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#6C2F83
secondary
#75AF5F
accent
#D75176
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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