#6F1772#6F1772

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

Color values

HEX#6F1772
RGBrgb(111, 23, 114)
HSLhsl(298, 66%, 27%)
HSVhsv(298, 80%, 45%)
CMYKcmyk(2.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(27.32, 48.53, -31.72)
CIE-LCHlch(27.32, 57.98, 326.82°)
OKLaboklab(39.47% 0.1339 -0.0882)
OKLCHoklch(39.47% 0.16 326.6)
XYZxyz(9.8990, 5.2079, 16.4002)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1772 #1A7217
analogous
#421772 #6F1772 #721748
triadic
#6F1772 #726F17 #17726F
tetradic
#6F1772 #724217 #1A7217 #174872
square
#6F1772 #724217 #1A7217 #174872
split-complementary
#6F1772 #487217 #177242
monochromatic
#190519 #3D0D3F #6F1772 #A121A5 #CF2ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1772#FFFFFF#000000##FFFFFF
##6F17721.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)
#003A74
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#722744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1772;
/* rgb */ color: rgb(111, 23, 114);
/* oklch */ color: oklch(39.5% 0.160 326.6);
Tailwind
colors: {
  custom: {
    50: '#9c609b',
    500: '#6f1772',
    950: '#000000',
  },
}
SCSS
$custom: #6f1772;
$custom-light: #9c609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1772",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 298.022,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.16029,
    "h": 326.6
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#6F1772
secondary
#41A83D
accent
#E93E44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1772

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

Preview Lab → · Contrast checker → · Palette generator →

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