#6B1870#6B1870

#6B1870 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.156 H 325.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6B1870
RGBrgb(107, 24, 112)
HSLhsl(297, 65%, 27%)
HSVhsv(297, 79%, 44%)
CMYKcmyk(4.5%, 78.6%, 0%, 56.1%)
CIE-LABlab(26.59, 46.94, -31.65)
CIE-LCHlch(26.59, 56.61, 326.01°)
OKLaboklab(38.77% 0.1283 -0.0881)
OKLCHoklch(38.77% 0.156 325.5)
XYZxyz(9.3145, 4.9495, 15.7908)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1870 #1D7018
analogous
#3F1870 #6B1870 #701849
triadic
#6B1870 #706B18 #18706B
tetradic
#6B1870 #703F18 #1D7018 #184970
square
#6B1870 #703F18 #1D7018 #184970
split-complementary
#6B1870 #497018 #18703F
monochromatic
#180519 #3B0D3E #6B1870 #9B23A2 #C930D3

Accessibility & contrast

On white

10.55
#6B1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6B1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1870
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1870#FFFFFF#000000##FFFFFF
##6B18701.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#2C426E
Tritanopia (blue-blind)
#6E2843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1870;
/* rgb */ color: rgb(107, 24, 112);
/* oklch */ color: oklch(38.8% 0.156 325.5);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6b1870',
    950: '#000000',
  },
}
SCSS
$custom: #6b1870;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1870",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 296.591,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.15563,
    "h": 325.5
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#6B1870
secondary
#44A53E
accent
#E8404A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1870

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

Preview Lab → · Contrast checker → · Palette generator →

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