#6F1266#6F1266

#6F1266 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.156 H 332.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6F1266
RGBrgb(111, 18, 102)
HSLhsl(306, 72%, 25%)
HSVhsv(306, 84%, 44%)
CMYKcmyk(0%, 83.8%, 8.1%, 56.5%)
CIE-LABlab(26.08, 47.96, -25.95)
CIE-LCHlch(26.08, 54.54, 331.58°)
OKLaboklab(38.35% 0.1383 -0.0714)
OKLCHoklch(38.35% 0.156 332.7)
XYZxyz(9.1702, 4.7722, 13.0060)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1266 #126F1B
analogous
#49126F #6F1266 #6F1238
triadic
#6F1266 #666F12 #12666F
tetradic
#6F1266 #6F4912 #126F1B #12386F
square
#6F1266 #6F4912 #126F1B #12386F
split-complementary
#6F1266 #386F12 #126F49
monochromatic
#1A0418 #3A0936 #6F1266 #A41B96 #D823C7

Accessibility & contrast

On white

10.75
#6F1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6F1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1266
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1266#FFFFFF#000000##FFFFFF
##6F12661.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3568
Deuteranopia (green-blind)
#334264
Tritanopia (blue-blind)
#741E3C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1266;
/* rgb */ color: rgb(111, 18, 102);
/* oklch */ color: oklch(38.3% 0.156 332.7);
Tailwind
colors: {
  custom: {
    50: '#9c5d92',
    500: '#6f1266',
    950: '#000000',
  },
}
SCSS
$custom: #6f1266;
$custom-light: #9c5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1266",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 305.806,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.15562,
    "h": 332.7
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#6F1266
secondary
#37A641
accent
#EF4B39
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1266

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

Preview Lab → · Contrast checker → · Palette generator →

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