#6F2179#6F2179

#6F2179 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.155 H 322.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6F2179
RGBrgb(111, 33, 121)
HSLhsl(293, 57%, 30%)
HSVhsv(293, 73%, 47%)
CMYKcmyk(8.3%, 72.7%, 0%, 52.5%)
CIE-LABlab(29.03, 46.22, -33.46)
CIE-LCHlch(29.03, 57.05, 324.10°)
OKLaboklab(40.83% 0.1236 -0.0933)
OKLCHoklch(40.83% 0.155 322.9)
XYZxyz(10.5503, 5.8483, 18.6586)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2179 #2B7921
analogous
#432179 #6F2179 #792157
triadic
#6F2179 #796F21 #21796F
tetradic
#6F2179 #794321 #2B7921 #215779
square
#6F2179 #794321 #2B7921 #215779
split-complementary
#6F2179 #577921 #217943
monochromatic
#170719 #431449 #6F2179 #9B2EA9 #BE47CD

Accessibility & contrast

On white

9.68
#6F2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2179
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2179#FFFFFF#000000##FFFFFF
##6F21791.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7B
Deuteranopia (green-blind)
#2F4777
Tritanopia (blue-blind)
#71304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2179;
/* rgb */ color: rgb(111, 33, 121);
/* oklch */ color: oklch(40.8% 0.155 322.9);
Tailwind
colors: {
  custom: {
    50: '#9b64a0',
    500: '#6f2179',
    950: '#000000',
  },
}
SCSS
$custom: #6f2179;
$custom-light: #9b64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2179",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 293.182,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.15485,
    "h": 322.9
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#6F2179
secondary
#55AC4A
accent
#E04759
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F2179

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

Preview Lab → · Contrast checker → · Palette generator →

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