#6F1784#6F1784

#6F1784 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.176 H 318.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6F1784
RGBrgb(111, 23, 132)
HSLhsl(288, 70%, 30%)
HSVhsv(288, 83%, 52%)
CMYKcmyk(15.9%, 82.6%, 0%, 48.2%)
CIE-LABlab(28.53, 51.90, -41.17)
CIE-LCHlch(28.53, 66.24, 321.57°)
OKLaboklab(40.72% 0.1319 -0.1158)
OKLCHoklch(40.72% 0.176 318.7)
XYZxyz(11.0262, 5.6588, 22.3368)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1784 #2C8417
analogous
#381784 #6F1784 #841763
triadic
#6F1784 #846F17 #17846F
tetradic
#6F1784 #843817 #2C8417 #176384
square
#6F1784 #843817 #2C8417 #176384
split-complementary
#6F1784 #638417 #178438
monochromatic
#17051C #430E50 #6F1784 #9B20B8 #BD39DC

Accessibility & contrast

On white

9.85
#6F1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1784
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1784#FFFFFF#000000##FFFFFF
##6F17841.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#6F304E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1784;
/* rgb */ color: rgb(111, 23, 132);
/* oklch */ color: oklch(40.7% 0.176 318.7);
Tailwind
colors: {
  custom: {
    50: '#9c61a8',
    500: '#6f1784',
    950: '#000000',
  },
}
SCSS
$custom: #6f1784;
$custom-light: #9c61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1784",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 288.44,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.17554,
    "h": 318.7
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#6F1784
secondary
#56B83F
accent
#ED3B5D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F1784

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

Preview Lab → · Contrast checker → · Palette generator →

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