#6F1785#6F1785

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

Color values

HEX#6F1785
RGBrgb(111, 23, 133)
HSLhsl(288, 71%, 31%)
HSVhsv(288, 83%, 52%)
CMYKcmyk(16.5%, 82.7%, 0%, 47.8%)
CIE-LABlab(28.61, 52.09, -41.68)
CIE-LCHlch(28.61, 66.71, 321.33°)
OKLaboklab(40.79% 0.1318 -0.1173)
OKLCHoklch(40.79% 0.176 318.3)
XYZxyz(11.0950, 5.6863, 22.6989)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1785 #2D8517
analogous
#381785 #6F1785 #851764
triadic
#6F1785 #856F17 #17856F
tetradic
#6F1785 #853817 #2D8517 #176485
square
#6F1785 #853817 #2D8517 #176485
split-complementary
#6F1785 #648517 #178538
monochromatic
#18051D #430E51 #6F1785 #9B20B9 #BC3ADD

Accessibility & contrast

On white

9.83
#6F1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6F1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1785
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1785#FFFFFF#000000##FFFFFF
##6F17851.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#1D4683
Tritanopia (blue-blind)
#6E304F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1785;
/* rgb */ color: rgb(111, 23, 133);
/* oklch */ color: oklch(40.8% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#9c61a9',
    500: '#6f1785',
    950: '#000000',
  },
}
SCSS
$custom: #6f1785;
$custom-light: #9c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1785",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 288,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.17641,
    "h": 318.3
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#6F1785
secondary
#57B93F
accent
#ED3B5E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F1785

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

Preview Lab → · Contrast checker → · Palette generator →

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