#6C1876#6C1876

#6C1876 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.161 H 323.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#6C1876
RGBrgb(108, 24, 118)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 80%, 46%)
CMYKcmyk(8.5%, 79.7%, 0%, 53.7%)
CIE-LABlab(27.16, 48.28, -34.57)
CIE-LCHlch(27.16, 59.38, 324.40°)
OKLaboklab(39.33% 0.1291 -0.0966)
OKLCHoklch(39.33% 0.161 323.2)
XYZxyz(9.7807, 5.1500, 17.6149)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1876 #227618
analogous
#3D1876 #6C1876 #761851
triadic
#6C1876 #766C18 #18766C
tetradic
#6C1876 #763D18 #227618 #185176
square
#6C1876 #763D18 #227618 #185176
split-complementary
#6C1876 #517618 #18763D
monochromatic
#170519 #3D0E43 #6C1876 #9B22A9 #C433D5

Accessibility & contrast

On white

10.35
#6C1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6C1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1876
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1876#FFFFFF#000000##FFFFFF
##6C18761.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#6E2A46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1876;
/* rgb */ color: rgb(108, 24, 118);
/* oklch */ color: oklch(39.3% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#99609e',
    500: '#6c1876',
    950: '#000000',
  },
}
SCSS
$custom: #6c1876;
$custom-light: #99609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1876",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 293.617,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.16123,
    "h": 323.2
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#6C1876
secondary
#4AAB3F
accent
#E93F51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1876

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

Preview Lab → · Contrast checker → · Palette generator →

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