#6F1272#6F1272

#6F1272 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.165 H 326.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#6F1272
RGBrgb(111, 18, 114)
HSLhsl(298, 73%, 26%)
HSVhsv(298, 84%, 45%)
CMYKcmyk(2.6%, 84.2%, 0%, 55.3%)
CIE-LABlab(26.81, 49.99, -32.53)
CIE-LCHlch(26.81, 59.64, 326.94°)
OKLaboklab(39.11% 0.1379 -0.0905)
OKLCHoklch(39.11% 0.165 326.7)
XYZxyz(9.8089, 5.0277, 16.3701)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1272 #157212
analogous
#3F1272 #6F1272 #721245
triadic
#6F1272 #726F12 #12726F
tetradic
#6F1272 #723F12 #157212 #124572
square
#6F1272 #723F12 #157212 #124572
split-complementary
#6F1272 #457212 #12723F
monochromatic
#1A041A #3C0A3D #6F1272 #A21AA7 #D623DC

Accessibility & contrast

On white

10.47
#6F1272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6F1272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1272
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1272#FFFFFF#000000##FFFFFF
##6F12721.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#722443
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f1272;
/* rgb */ color: rgb(111, 18, 114);
/* oklch */ color: oklch(39.1% 0.165 326.7);
Tailwind
colors: {
  custom: {
    50: '#9c5e9b',
    500: '#6f1272',
    950: '#000000',
  },
}
SCSS
$custom: #6f1272;
$custom-light: #9c5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1272",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 298.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39108,
    "c": 0.16498,
    "h": 326.7
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#6F1272
secondary
#3AA937
accent
#EF383E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1272

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

Preview Lab → · Contrast checker → · Palette generator →

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