#6F1566#6F1566

#6F1566 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.153 H 332.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#6F1566
RGBrgb(111, 21, 102)
HSLhsl(306, 68%, 26%)
HSVhsv(306, 81%, 44%)
CMYKcmyk(0%, 81.1%, 8.1%, 56.5%)
CIE-LABlab(26.38, 47.09, -25.47)
CIE-LCHlch(26.38, 53.54, 331.59°)
OKLaboklab(38.56% 0.1357 -0.07)
OKLCHoklch(38.56% 0.153 332.7)
XYZxyz(9.2220, 4.8759, 13.0232)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1566 #156F1E
analogous
#4B156F #6F1566 #6F1539
triadic
#6F1566 #666F15 #15666F
tetradic
#6F1566 #6F4B15 #156F1E #15396F
square
#6F1566 #6F4B15 #156F1E #15396F
split-complementary
#6F1566 #396F15 #156F4B
monochromatic
#1A0518 #3C0B37 #6F1566 #A21F95 #D628C5

Accessibility & contrast

On white

10.63
#6F1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6F1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1566
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1566#FFFFFF#000000##FFFFFF
##6F15661.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#344364
Tritanopia (blue-blind)
#74203D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1566;
/* rgb */ color: rgb(111, 21, 102);
/* oklch */ color: oklch(38.6% 0.153 332.7);
Tailwind
colors: {
  custom: {
    50: '#9c5e92',
    500: '#6f1566',
    950: '#000000',
  },
}
SCSS
$custom: #6f1566;
$custom-light: #9c5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1566",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 306,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38562,
    "c": 0.15273,
    "h": 332.7
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#6F1566
secondary
#3AA545
accent
#EB4E3D
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1566

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

Preview Lab → · Contrast checker → · Palette generator →

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