#6D1870#6D1870

#6D1870 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 326.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6D1870
RGBrgb(109, 24, 112)
HSLhsl(298, 65%, 27%)
HSVhsv(298, 79%, 44%)
CMYKcmyk(2.7%, 78.6%, 0%, 56.1%)
CIE-LABlab(26.95, 47.39, -31.06)
CIE-LCHlch(26.95, 56.66, 326.76°)
OKLaboklab(39.09% 0.1307 -0.0863)
OKLCHoklch(39.09% 0.157 326.6)
XYZxyz(9.5578, 5.0750, 15.8023)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1870 #1B7018
analogous
#411870 #6D1870 #701847
triadic
#6D1870 #706D18 #18706D
tetradic
#6D1870 #704118 #1B7018 #184770
square
#6D1870 #704118 #1B7018 #184770
split-complementary
#6D1870 #477018 #187041
monochromatic
#190519 #3C0D3E #6D1870 #9E23A2 #CD30D3

Accessibility & contrast

On white

10.42
#6D1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6D1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1870
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1870#FFFFFF#000000##FFFFFF
##6D18701.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#2E436E
Tritanopia (blue-blind)
#702743
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6d1870;
/* rgb */ color: rgb(109, 24, 112);
/* oklch */ color: oklch(39.1% 0.157 326.6);
Tailwind
colors: {
  custom: {
    50: '#9a6099',
    500: '#6d1870',
    950: '#000000',
  },
}
SCSS
$custom: #6d1870;
$custom-light: #9a6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1870",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 297.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.1566,
    "h": 326.6
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#6D1870
secondary
#42A53E
accent
#E84046
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1870

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

Preview Lab → · Contrast checker → · Palette generator →

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