#6C1265#6C1265

#6C1265 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.153 H 331.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#6C1265
RGBrgb(108, 18, 101)
HSLhsl(305, 71%, 25%)
HSVhsv(305, 83%, 42%)
CMYKcmyk(0%, 83.3%, 6.5%, 57.6%)
CIE-LABlab(25.45, 47.12, -26.33)
CIE-LCHlch(25.45, 53.98, 330.80°)
OKLaboklab(37.77% 0.135 -0.0726)
OKLCHoklch(37.77% 0.153 331.7)
XYZxyz(8.7496, 4.5611, 12.7290)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1265 #126C19
analogous
#46126C #6C1265 #6C1238
triadic
#6C1265 #656C12 #12656C
tetradic
#6C1265 #6C4612 #126C19 #12386C
square
#6C1265 #6C4612 #126C19 #12386C
split-complementary
#6C1265 #386C12 #126C46
monochromatic
#1A0419 #380934 #6C1265 #A01B96 #D523C7

Accessibility & contrast

On white

10.98
#6C1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1265
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1265#FFFFFF#000000##FFFFFF
##6C12651.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083467
Deuteranopia (green-blind)
#314163
Tritanopia (blue-blind)
#711E3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1265;
/* rgb */ color: rgb(108, 18, 101);
/* oklch */ color: oklch(37.8% 0.153 331.7);
Tailwind
colors: {
  custom: {
    50: '#995d91',
    500: '#6c1265',
    950: '#000000',
  },
}
SCSS
$custom: #6c1265;
$custom-light: #995d91;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1265",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 304.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.15327,
    "h": 331.7
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#6C1265
secondary
#36A33F
accent
#EE483A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050D
muted
#7E797D

Preview Lab

Preview with #6C1265

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

Preview Lab → · Contrast checker → · Palette generator →

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