#6F1274#6F1274

#6F1274 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 325.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6F1274
RGBrgb(111, 18, 116)
HSLhsl(297, 73%, 26%)
HSVhsv(297, 84%, 45%)
CMYKcmyk(4.3%, 84.5%, 0%, 54.5%)
CIE-LABlab(26.94, 50.34, -33.60)
CIE-LCHlch(26.94, 60.52, 326.28°)
OKLaboklab(39.24% 0.1378 -0.0936)
OKLCHoklch(39.24% 0.167 325.8)
XYZxyz(9.9240, 5.0738, 16.9762)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1274 #177412
analogous
#3E1274 #6F1274 #741248
triadic
#6F1274 #746F12 #12746F
tetradic
#6F1274 #743E12 #177412 #124874
square
#6F1274 #743E12 #177412 #124874
split-complementary
#6F1274 #487412 #12743E
monochromatic
#19041A #3C0A3F #6F1274 #A21AA9 #D323DD

Accessibility & contrast

On white

10.42
#6F1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1274
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1274#FFFFFF#000000##FFFFFF
##6F12741.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#2B4372
Tritanopia (blue-blind)
#722644
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1274;
/* rgb */ color: rgb(111, 18, 116);
/* oklch */ color: oklch(39.2% 0.167 325.8);
Tailwind
colors: {
  custom: {
    50: '#9c5e9c',
    500: '#6f1274',
    950: '#000000',
  },
}
SCSS
$custom: #6f1274;
$custom-light: #9c5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1274",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 296.939,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.16658,
    "h": 325.8
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#6F1274
secondary
#3DAB37
accent
#F03841
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1274

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

Preview Lab → · Contrast checker → · Palette generator →

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