#6F1794#6F1794

#6F1794 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.190 H 312.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6F1794
RGBrgb(111, 23, 148)
HSLhsl(282, 73%, 34%)
HSVhsv(282, 84%, 58%)
CMYKcmyk(25%, 84.5%, 0%, 42%)
CIE-LABlab(29.74, 55.11, -49.15)
CIE-LCHlch(29.74, 73.84, 318.27°)
OKLaboklab(41.94% 0.1286 -0.1393)
OKLCHoklch(41.94% 0.19 312.7)
XYZxyz(12.2063, 6.1308, 28.5516)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1794 #3C9417
analogous
#301794 #6F1794 #94177A
triadic
#6F1794 #946F17 #17946F
tetradic
#6F1794 #943017 #3C9417 #177A94
square
#6F1794 #943017 #3C9417 #177A94
split-complementary
#6F1794 #7A9417 #179430
monochromatic
#20072A #470F5F #6F1794 #971FC9 #B344E2

Accessibility & contrast

On white

9.43
#6F1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6F1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1794
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1794#FFFFFF#000000##FFFFFF
##6F17941.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#6B3858
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1794;
/* rgb */ color: rgb(111, 23, 148);
/* oklch */ color: oklch(41.9% 0.190 312.7);
Tailwind
colors: {
  custom: {
    50: '#9d61b4',
    500: '#6f1794',
    950: '#000000',
  },
}
SCSS
$custom: #6f1794;
$custom-light: #9d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1794",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 282.24,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.18954,
    "h": 312.7
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#6F1794
secondary
#6AC344
accent
#F0386E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1794

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

Preview Lab → · Contrast checker → · Palette generator →

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