#6C1264#6C1264

#6C1264 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.152 H 332.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#6C1264
RGBrgb(108, 18, 100)
HSLhsl(305, 71%, 25%)
HSVhsv(305, 83%, 42%)
CMYKcmyk(0%, 83.3%, 7.4%, 57.6%)
CIE-LABlab(25.39, 46.95, -25.78)
CIE-LCHlch(25.39, 53.56, 331.23°)
OKLaboklab(37.71% 0.135 -0.071)
OKLCHoklch(37.71% 0.153 332.3)
XYZxyz(8.7009, 4.5416, 12.4725)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1264 #126C1A
analogous
#47126C #6C1264 #6C1237
triadic
#6C1264 #646C12 #12646C
tetradic
#6C1264 #6C4712 #126C1A #12376C
square
#6C1264 #6C4712 #126C1A #12376C
split-complementary
#6C1264 #376C12 #126C47
monochromatic
#1A0418 #380933 #6C1264 #A01B95 #D523C5

Accessibility & contrast

On white

11.01
#6C1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6C1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1264
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1264#FFFFFF#000000##FFFFFF
##6C12641.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3466
Deuteranopia (green-blind)
#314162
Tritanopia (blue-blind)
#711E3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1264;
/* rgb */ color: rgb(108, 18, 100);
/* oklch */ color: oklch(37.7% 0.152 332.3);
Tailwind
colors: {
  custom: {
    50: '#995d90',
    500: '#6c1264',
    950: '#000000',
  },
}
SCSS
$custom: #6c1264;
$custom-light: #995d90;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1264",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 305.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.1525,
    "h": 332.3
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#6C1264
secondary
#36A340
accent
#EE4A3A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1264

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

Preview Lab → · Contrast checker → · Palette generator →

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