#6F1273#6F1273

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

Color values

HEX#6F1273
RGBrgb(111, 18, 115)
HSLhsl(298, 73%, 26%)
HSVhsv(298, 84%, 45%)
CMYKcmyk(3.5%, 84.3%, 0%, 54.9%)
CIE-LABlab(26.88, 50.16, -33.07)
CIE-LCHlch(26.88, 60.08, 326.61°)
OKLaboklab(39.17% 0.1379 -0.0921)
OKLCHoklch(39.17% 0.166 326.3)
XYZxyz(9.8662, 5.0506, 16.6715)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1273 #167312
analogous
#3E1273 #6F1273 #731246
triadic
#6F1273 #736F12 #12736F
tetradic
#6F1273 #733E12 #167312 #124673
square
#6F1273 #733E12 #167312 #124673
split-complementary
#6F1273 #467312 #12733E
monochromatic
#1A041A #3C0A3E #6F1273 #A21AA8 #D523DD

Accessibility & contrast

On white

10.45
#6F1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1273
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1273#FFFFFF#000000##FFFFFF
##6F12731.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#722544
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1273;
/* rgb */ color: rgb(111, 18, 115);
/* oklch */ color: oklch(39.2% 0.166 326.3);
Tailwind
colors: {
  custom: {
    50: '#9c5e9c',
    500: '#6f1273',
    950: '#000000',
  },
}
SCSS
$custom: #6f1273;
$custom-light: #9c5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1273",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 297.526,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.16578,
    "h": 326.3
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#6F1273
secondary
#3CAA37
accent
#F03840
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1273

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

Preview Lab → · Contrast checker → · Palette generator →

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