#6C1266#6C1266

#6C1266 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 331.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#6C1266
RGBrgb(108, 18, 102)
HSLhsl(304, 71%, 25%)
HSVhsv(304, 83%, 42%)
CMYKcmyk(0%, 83.3%, 5.6%, 57.6%)
CIE-LABlab(25.51, 47.28, -26.89)
CIE-LCHlch(25.51, 54.40, 330.37°)
OKLaboklab(37.83% 0.135 -0.0742)
OKLCHoklch(37.83% 0.154 331.2)
XYZxyz(8.7989, 4.5808, 12.9886)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1266 #126C18
analogous
#45126C #6C1266 #6C1239
triadic
#6C1266 #666C12 #12666C
tetradic
#6C1266 #6C4512 #126C18 #12396C
square
#6C1266 #6C4512 #126C18 #12396C
split-complementary
#6C1266 #396C12 #126C45
monochromatic
#1A0419 #380934 #6C1266 #A01B98 #D523C9

Accessibility & contrast

On white

10.96
#6C1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6C1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1266
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1266#FFFFFF#000000##FFFFFF
##6C12661.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#304164
Tritanopia (blue-blind)
#711F3C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1266;
/* rgb */ color: rgb(108, 18, 102);
/* oklch */ color: oklch(37.8% 0.154 331.2);
Tailwind
colors: {
  custom: {
    50: '#995d92',
    500: '#6c1266',
    950: '#000000',
  },
}
SCSS
$custom: #6c1266;
$custom-light: #995d92;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1266",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 304,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.15406,
    "h": 331.2
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#6C1266
secondary
#36A33E
accent
#EE463A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C1266

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

Preview Lab → · Contrast checker → · Palette generator →

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