#6F1870#6F1870

#6F1870 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.158 H 327.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#6F1870
RGBrgb(111, 24, 112)
HSLhsl(299, 65%, 27%)
HSVhsv(299, 79%, 44%)
CMYKcmyk(0.9%, 78.6%, 0%, 56.1%)
CIE-LABlab(27.31, 47.85, -30.46)
CIE-LCHlch(27.31, 56.72, 327.52°)
OKLaboklab(39.42% 0.133 -0.0845)
OKLCHoklch(39.42% 0.158 327.6)
XYZxyz(9.8067, 5.2033, 15.8139)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1870 #197018
analogous
#431870 #6F1870 #701845
triadic
#6F1870 #706F18 #18706F
tetradic
#6F1870 #704318 #197018 #184570
square
#6F1870 #704318 #197018 #184570
split-complementary
#6F1870 #457018 #187043
monochromatic
#190519 #3D0D3E #6F1870 #A123A2 #D130D3

Accessibility & contrast

On white

10.29
#6F1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6F1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1870
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1870#FFFFFF#000000##FFFFFF
##6F18701.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023972
Deuteranopia (green-blind)
#30446E
Tritanopia (blue-blind)
#732743
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1870;
/* rgb */ color: rgb(111, 24, 112);
/* oklch */ color: oklch(39.4% 0.158 327.6);
Tailwind
colors: {
  custom: {
    50: '#9c6099',
    500: '#6f1870',
    950: '#000000',
  },
}
SCSS
$custom: #6f1870;
$custom-light: #9c6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1870",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 299.318,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.15759,
    "h": 327.6
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#6F1870
secondary
#3FA53E
accent
#E84042
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1870

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

Preview Lab → · Contrast checker → · Palette generator →

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