#6C1275#6C1275

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

Color values

HEX#6C1275
RGBrgb(108, 18, 117)
HSLhsl(295, 73%, 26%)
HSVhsv(295, 85%, 46%)
CMYKcmyk(7.7%, 84.6%, 0%, 54.1%)
CIE-LABlab(26.46, 49.91, -35.04)
CIE-LCHlch(26.46, 60.98, 324.93°)
OKLaboklab(38.82% 0.1342 -0.0979)
OKLCHoklch(38.82% 0.166 323.9)
XYZxyz(9.6113, 4.9057, 17.2668)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1275 #1B7512
analogous
#3B1275 #6C1275 #75124D
triadic
#6C1275 #756C12 #12756C
tetradic
#6C1275 #753B12 #1B7512 #124D75
square
#6C1275 #753B12 #1B7512 #124D75
split-complementary
#6C1275 #4D7512 #12753B
monochromatic
#18041B #3B0A40 #6C1275 #9D1AAA #CC24DD

Accessibility & contrast

On white

10.60
#6C1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1275
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1275#FFFFFF#000000##FFFFFF
##6C12751.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#6E2745
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1275;
/* rgb */ color: rgb(108, 18, 117);
/* oklch */ color: oklch(38.8% 0.166 323.9);
Tailwind
colors: {
  custom: {
    50: '#9a5e9d',
    500: '#6c1275',
    950: '#000000',
  },
}
SCSS
$custom: #6c1275;
$custom-light: #9a5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1275",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 294.545,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.16609,
    "h": 323.9
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#6C1275
secondary
#42AC37
accent
#F03849
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1275

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

Preview Lab → · Contrast checker → · Palette generator →

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