#6C1274#6C1274

#6C1274 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.165 H 324.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#6C1274
RGBrgb(108, 18, 116)
HSLhsl(295, 73%, 26%)
HSVhsv(295, 84%, 45%)
CMYKcmyk(6.9%, 84.5%, 0%, 54.5%)
CIE-LABlab(26.40, 49.73, -34.51)
CIE-LCHlch(26.40, 60.53, 325.24°)
OKLaboklab(38.75% 0.1343 -0.0964)
OKLCHoklch(38.75% 0.165 324.3)
XYZxyz(9.5528, 4.8823, 16.9588)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1274 #1A7412
analogous
#3B1274 #6C1274 #74124B
triadic
#6C1274 #746C12 #12746C
tetradic
#6C1274 #743B12 #1A7412 #124B74
square
#6C1274 #743B12 #1A7412 #124B74
split-complementary
#6C1274 #4B7412 #12743B
monochromatic
#19041A #3B0A3F #6C1274 #9D1AA9 #CE23DD

Accessibility & contrast

On white

10.63
#6C1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C1274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1274
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1274#FFFFFF#000000##FFFFFF
##6C12741.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#6E2644
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1274;
/* rgb */ color: rgb(108, 18, 116);
/* oklch */ color: oklch(38.8% 0.165 324.3);
Tailwind
colors: {
  custom: {
    50: '#9a5e9c',
    500: '#6c1274',
    950: '#000000',
  },
}
SCSS
$custom: #6c1274;
$custom-light: #9a5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1274",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 295.102,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.16527,
    "h": 324.3
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#6C1274
secondary
#41AB37
accent
#F03847
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1274

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

Preview Lab → · Contrast checker → · Palette generator →

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