#6C1267#6C1267

#6C1267 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.155 H 330.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#6C1267
RGBrgb(108, 18, 103)
HSLhsl(303, 71%, 25%)
HSVhsv(303, 83%, 42%)
CMYKcmyk(0%, 83.3%, 4.6%, 57.6%)
CIE-LABlab(25.57, 47.45, -27.45)
CIE-LCHlch(25.57, 54.82, 329.95°)
OKLaboklab(37.89% 0.135 -0.0758)
OKLCHoklch(37.89% 0.155 330.7)
XYZxyz(8.8488, 4.6008, 13.2513)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1267 #126C17
analogous
#44126C #6C1267 #6C123A
triadic
#6C1267 #676C12 #12676C
tetradic
#6C1267 #6C4412 #126C17 #123A6C
square
#6C1267 #6C4412 #126C17 #123A6C
split-complementary
#6C1267 #3A6C12 #126C44
monochromatic
#1A0419 #380935 #6C1267 #A01B99 #D523CB

Accessibility & contrast

On white

10.94
#6C1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1267
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1267#FFFFFF#000000##FFFFFF
##6C12671.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053569
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#701F3D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c1267;
/* rgb */ color: rgb(108, 18, 103);
/* oklch */ color: oklch(37.9% 0.155 330.7);
Tailwind
colors: {
  custom: {
    50: '#995d93',
    500: '#6c1267',
    950: '#000000',
  },
}
SCSS
$custom: #6c1267;
$custom-light: #995d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1267",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 303.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.15484,
    "h": 330.7
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#6C1267
secondary
#36A33C
accent
#EE443A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C1267

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

Preview Lab → · Contrast checker → · Palette generator →

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