#6F2772#6F2772

#6F2772 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.140 H 326.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6F2772
RGBrgb(111, 39, 114)
HSLhsl(298, 49%, 30%)
HSVhsv(298, 66%, 45%)
CMYKcmyk(2.6%, 65.8%, 0%, 55.3%)
CIE-LABlab(29.53, 42.28, -28.22)
CIE-LCHlch(29.53, 50.83, 326.28°)
OKLaboklab(41.05% 0.1164 -0.0781)
OKLCHoklch(41.05% 0.14 326.1)
XYZxyz(10.3181, 6.0461, 16.5399)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2772 #2A7227
analogous
#492772 #6F2772 #722750
triadic
#6F2772 #726F27 #27726F
tetradic
#6F2772 #724927 #2A7227 #275072
square
#6F2772 #724927 #2A7227 #275072
split-complementary
#6F2772 #507227 #277249
monochromatic
#160817 #431744 #6F2772 #9B37A0 #BF50C3

Accessibility & contrast

On white

9.51
#6F2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2772
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2772#FFFFFF#000000##FFFFFF
##6F27721.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4074
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#723149
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2772;
/* rgb */ color: rgb(111, 39, 114);
/* oklch */ color: oklch(41.1% 0.140 326.1);
Tailwind
colors: {
  custom: {
    50: '#9b679b',
    500: '#6f2772',
    950: '#000000',
  },
}
SCSS
$custom: #6f2772;
$custom-light: #9b679b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2772",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 297.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.14016,
    "h": 326.1
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#6F2772
secondary
#54A450
accent
#D94F55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2772

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

Preview Lab → · Contrast checker → · Palette generator →

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