#6F1276#6F1276

#6F1276 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.168 H 324.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6F1276
RGBrgb(111, 18, 118)
HSLhsl(296, 74%, 27%)
HSVhsv(296, 85%, 46%)
CMYKcmyk(5.9%, 84.7%, 0%, 53.7%)
CIE-LABlab(27.08, 50.70, -34.67)
CIE-LCHlch(27.08, 61.42, 325.63°)
OKLaboklab(39.38% 0.1376 -0.0967)
OKLCHoklch(39.38% 0.168 324.9)
XYZxyz(10.0416, 5.1208, 17.5955)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1276 #197612
analogous
#3D1276 #6F1276 #76124B
triadic
#6F1276 #766F12 #12766F
tetradic
#6F1276 #763D12 #197612 #124B76
square
#6F1276 #763D12 #197612 #124B76
split-complementary
#6F1276 #4B7612 #12763D
monochromatic
#19041B #3D0A41 #6F1276 #A11AAB #D125DE

Accessibility & contrast

On white

10.38
#6F1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6F1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1276
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1276#FFFFFF#000000##FFFFFF
##6F12761.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#294474
Tritanopia (blue-blind)
#722745
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1276;
/* rgb */ color: rgb(111, 18, 118);
/* oklch */ color: oklch(39.4% 0.168 324.9);
Tailwind
colors: {
  custom: {
    50: '#9c5e9e',
    500: '#6f1276',
    950: '#000000',
  },
}
SCSS
$custom: #6f1276;
$custom-light: #9c5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1276",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 295.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.1682,
    "h": 324.9
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#6F1276
secondary
#3FAD37
accent
#F03845
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1276

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

Preview Lab → · Contrast checker → · Palette generator →

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