#6C1875#6C1875

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

Color values

HEX#6C1875
RGBrgb(108, 24, 117)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 79%, 46%)
CMYKcmyk(7.7%, 79.5%, 0%, 54.1%)
CIE-LABlab(27.09, 48.09, -34.04)
CIE-LCHlch(27.09, 58.92, 324.71°)
OKLaboklab(39.26% 0.1292 -0.095)
OKLCHoklch(39.26% 0.16 323.7)
XYZxyz(9.7216, 5.1264, 17.3036)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1875 #217518
analogous
#3E1875 #6C1875 #75184F
triadic
#6C1875 #756C18 #18756C
tetradic
#6C1875 #753E18 #217518 #184F75
square
#6C1875 #753E18 #217518 #184F75
split-complementary
#6C1875 #4F7518 #18753E
monochromatic
#170519 #3D0E42 #6C1875 #9B22A8 #C532D5

Accessibility & contrast

On white

10.37
#6C1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1875
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1875#FFFFFF#000000##FFFFFF
##6C18751.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1875;
/* rgb */ color: rgb(108, 24, 117);
/* oklch */ color: oklch(39.3% 0.160 323.7);
Tailwind
colors: {
  custom: {
    50: '#99609d',
    500: '#6c1875',
    950: '#000000',
  },
}
SCSS
$custom: #6c1875;
$custom-light: #99609d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1875",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 294.194,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.16038,
    "h": 323.7
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#6C1875
secondary
#49AA3F
accent
#E93F4F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1875

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

Preview Lab → · Contrast checker → · Palette generator →

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