#6F1670#6F1670

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

Color values

HEX#6F1670
RGBrgb(111, 22, 112)
HSLhsl(299, 67%, 26%)
HSVhsv(299, 80%, 44%)
CMYKcmyk(0.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(27.08, 48.48, -30.82)
CIE-LCHlch(27.08, 57.45, 327.56°)
OKLaboklab(39.26% 0.1348 -0.0855)
OKLCHoklch(39.26% 0.16 327.6)
XYZxyz(9.7669, 5.1239, 15.8007)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1670 #177016
analogous
#421670 #6F1670 #701644
triadic
#6F1670 #706F16 #16706F
tetradic
#6F1670 #704216 #177016 #164470
square
#6F1670 #704216 #177016 #164470
split-complementary
#6F1670 #447016 #167042
monochromatic
#19051A #3C0C3D #6F1670 #A220A3 #D32BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1670#FFFFFF#000000##FFFFFF
##6F16701.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1670;
/* rgb */ color: rgb(111, 22, 112);
/* oklch */ color: oklch(39.3% 0.160 327.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f99',
    500: '#6f1670',
    950: '#000000',
  },
}
SCSS
$custom: #6f1670;
$custom-light: #9c5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1670",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 299.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.15966,
    "h": 327.6
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#6F1670
secondary
#3DA63C
accent
#EA3E40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1670

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

Preview Lab → · Contrast checker → · Palette generator →

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