#6C1268#6C1268

#6C1268 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.156 H 330.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#6C1268
RGBrgb(108, 18, 104)
HSLhsl(303, 71%, 25%)
HSVhsv(303, 83%, 42%)
CMYKcmyk(0%, 83.3%, 3.7%, 57.6%)
CIE-LABlab(25.63, 47.62, -28.00)
CIE-LCHlch(25.63, 55.24, 329.54°)
OKLaboklab(37.96% 0.135 -0.0774)
OKLCHoklch(37.96% 0.156 330.2)
XYZxyz(8.8993, 4.6210, 13.5172)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1268 #126C16
analogous
#43126C #6C1268 #6C123B
triadic
#6C1268 #686C12 #12686C
tetradic
#6C1268 #6C4312 #126C16 #123B6C
square
#6C1268 #6C4312 #126C16 #123B6C
split-complementary
#6C1268 #3B6C12 #126C43
monochromatic
#1A0419 #380935 #6C1268 #A01B9B #D523CD

Accessibility & contrast

On white

10.91
#6C1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1268
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1268#FFFFFF#000000##FFFFFF
##6C12681.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03356A
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#70203D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c1268;
/* rgb */ color: rgb(108, 18, 104);
/* oklch */ color: oklch(38.0% 0.156 330.2);
Tailwind
colors: {
  custom: {
    50: '#995d93',
    500: '#6c1268',
    950: '#000000',
  },
}
SCSS
$custom: #6c1268;
$custom-light: #995d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1268",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 302.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.15561,
    "h": 330.2
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#6C1268
secondary
#36A33B
accent
#EE423A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C1268

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

Preview Lab → · Contrast checker → · Palette generator →

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