#6F1672#6F1672

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

Color values

HEX#6F1672
RGBrgb(111, 22, 114)
HSLhsl(298, 68%, 27%)
HSVhsv(298, 81%, 45%)
CMYKcmyk(2.6%, 80.7%, 0%, 55.3%)
CIE-LABlab(27.21, 48.84, -31.90)
CIE-LCHlch(27.21, 58.33, 326.85°)
OKLaboklab(39.39% 0.1347 -0.0887)
OKLCHoklch(39.39% 0.161 326.6)
XYZxyz(9.8795, 5.1689, 16.3937)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1672 #197216
analogous
#411672 #6F1672 #721647
triadic
#6F1672 #726F16 #16726F
tetradic
#6F1672 #724116 #197216 #164772
square
#6F1672 #724116 #197216 #164772
split-complementary
#6F1672 #477216 #167241
monochromatic
#19051A #3D0C3F #6F1672 #A120A5 #D12CD6

Accessibility & contrast

On white

10.33
#6F1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1672
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1672#FFFFFF#000000##FFFFFF
##6F16721.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#722744
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1672;
/* rgb */ color: rgb(111, 22, 114);
/* oklch */ color: oklch(39.4% 0.161 326.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f9b',
    500: '#6f1672',
    950: '#000000',
  },
}
SCSS
$custom: #6f1672;
$custom-light: #9c5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1672",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 298.043,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.16129,
    "h": 326.6
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#6F1672
secondary
#3FA83C
accent
#EB3D43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1672

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

Preview Lab → · Contrast checker → · Palette generator →

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