#6F1876#6F1876

#6F1876 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.163 H 324.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#6F1876
RGBrgb(111, 24, 118)
HSLhsl(296, 66%, 28%)
HSVhsv(296, 80%, 46%)
CMYKcmyk(5.9%, 79.7%, 0%, 53.7%)
CIE-LABlab(27.69, 48.93, -33.69)
CIE-LCHlch(27.69, 59.41, 325.45°)
OKLaboklab(39.81% 0.1327 -0.0939)
OKLCHoklch(39.81% 0.163 324.7)
XYZxyz(10.1519, 5.3414, 17.6323)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1876 #1F7618
analogous
#401876 #6F1876 #76184E
triadic
#6F1876 #766F18 #18766F
tetradic
#6F1876 #764018 #1F7618 #184E76
square
#6F1876 #764018 #1F7618 #184E76
split-complementary
#6F1876 #4E7618 #187640
monochromatic
#180519 #3F0E43 #6F1876 #9F22A9 #C933D5

Accessibility & contrast

On white

10.15
#6F1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6F1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1876
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1876#FFFFFF#000000##FFFFFF
##6F18761.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#712A46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1876;
/* rgb */ color: rgb(111, 24, 118);
/* oklch */ color: oklch(39.8% 0.163 324.7);
Tailwind
colors: {
  custom: {
    50: '#9c609e',
    500: '#6f1876',
    950: '#000000',
  },
}
SCSS
$custom: #6f1876;
$custom-light: #9c609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1876",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 295.532,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.1626,
    "h": 324.7
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#6F1876
secondary
#47AB3F
accent
#E93F4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1876

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

Preview Lab → · Contrast checker → · Palette generator →

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