#6C1874#6C1874

#6C1874 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.160 H 324.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#6C1874
RGBrgb(108, 24, 116)
HSLhsl(295, 66%, 27%)
HSVhsv(295, 79%, 45%)
CMYKcmyk(6.9%, 79.3%, 0%, 54.5%)
CIE-LABlab(27.03, 47.90, -33.50)
CIE-LCHlch(27.03, 58.46, 325.03°)
OKLaboklab(39.2% 0.1293 -0.0935)
OKLCHoklch(39.2% 0.16 324.1)
XYZxyz(9.6631, 5.1030, 16.9956)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1874 #207418
analogous
#3E1874 #6C1874 #74184E
triadic
#6C1874 #746C18 #18746C
tetradic
#6C1874 #743E18 #207418 #184E74
square
#6C1874 #743E18 #207418 #184E74
split-complementary
#6C1874 #4E7418 #18743E
monochromatic
#180519 #3D0E41 #6C1874 #9B22A7 #C632D5

Accessibility & contrast

On white

10.39
#6C1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6C1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1874
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1874#FFFFFF#000000##FFFFFF
##6C18741.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#6E2945
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1874;
/* rgb */ color: rgb(108, 24, 116);
/* oklch */ color: oklch(39.2% 0.160 324.1);
Tailwind
colors: {
  custom: {
    50: '#99609c',
    500: '#6c1874',
    950: '#000000',
  },
}
SCSS
$custom: #6c1874;
$custom-light: #99609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1874",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 294.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.15951,
    "h": 324.1
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#6C1874
secondary
#48A93F
accent
#E93F4E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1874

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

Preview Lab → · Contrast checker → · Palette generator →

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