#6C1262#6C1262

#6C1262 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.151 H 333.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#6C1262
RGBrgb(108, 18, 98)
HSLhsl(307, 71%, 25%)
HSVhsv(307, 83%, 42%)
CMYKcmyk(0%, 83.3%, 9.3%, 57.6%)
CIE-LABlab(25.27, 46.63, -24.65)
CIE-LCHlch(25.27, 52.74, 332.13°)
OKLaboklab(37.59% 0.1349 -0.0677)
OKLCHoklch(37.59% 0.151 333.4)
XYZxyz(8.6053, 4.5034, 11.9689)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1262 #126C1C
analogous
#49126C #6C1262 #6C1235
triadic
#6C1262 #626C12 #12626C
tetradic
#6C1262 #6C4912 #126C1C #12356C
square
#6C1262 #6C4912 #126C1C #12356C
split-complementary
#6C1262 #356C12 #126C49
monochromatic
#1A0418 #380932 #6C1262 #A01B92 #D523C1

Accessibility & contrast

On white

11.05
#6C1262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6C1262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1262
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1262#FFFFFF#000000##FFFFFF
##6C12621.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3464
Deuteranopia (green-blind)
#324060
Tritanopia (blue-blind)
#711C3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1262;
/* rgb */ color: rgb(108, 18, 98);
/* oklch */ color: oklch(37.6% 0.151 333.4);
Tailwind
colors: {
  custom: {
    50: '#995d8f',
    500: '#6c1262',
    950: '#000000',
  },
}
SCSS
$custom: #6c1262;
$custom-light: #995d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1262",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 306.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.15097,
    "h": 333.4
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#6C1262
secondary
#36A343
accent
#EE4E3A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1262

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

Preview Lab → · Contrast checker → · Palette generator →

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