#6F1773#6F1773

#6F1773 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 326.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#6F1773
RGBrgb(111, 23, 115)
HSLhsl(297, 67%, 27%)
HSVhsv(297, 80%, 45%)
CMYKcmyk(3.5%, 80%, 0%, 54.9%)
CIE-LABlab(27.38, 48.70, -32.26)
CIE-LCHlch(27.38, 58.42, 326.48°)
OKLaboklab(39.53% 0.1338 -0.0898)
OKLCHoklch(39.53% 0.161 326.1)
XYZxyz(9.9563, 5.2308, 16.7016)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1773 #1B7317
analogous
#411773 #6F1773 #731749
triadic
#6F1773 #736F17 #17736F
tetradic
#6F1773 #734117 #1B7317 #174973
square
#6F1773 #734117 #1B7317 #174973
split-complementary
#6F1773 #497317 #177341
monochromatic
#19051A #3E0D40 #6F1773 #A021A6 #CE2FD5

Accessibility & contrast

On white

10.26
#6F1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6F1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1773
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1773#FFFFFF#000000##FFFFFF
##6F17731.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#2D4471
Tritanopia (blue-blind)
#722845
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1773;
/* rgb */ color: rgb(111, 23, 115);
/* oklch */ color: oklch(39.5% 0.161 326.1);
Tailwind
colors: {
  custom: {
    50: '#9c609c',
    500: '#6f1773',
    950: '#000000',
  },
}
SCSS
$custom: #6f1773;
$custom-light: #9c609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1773",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 297.391,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.16112,
    "h": 326.1
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#6F1773
secondary
#42A93D
accent
#EA3E46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1773

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

Preview Lab → · Contrast checker → · Palette generator →

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