#6F1774#6F1774

#6F1774 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 325.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#6F1774
RGBrgb(111, 23, 116)
HSLhsl(297, 67%, 27%)
HSVhsv(297, 80%, 45%)
CMYKcmyk(4.3%, 80.2%, 0%, 54.5%)
CIE-LABlab(27.45, 48.89, -32.80)
CIE-LCHlch(27.45, 58.87, 326.14°)
OKLaboklab(39.6% 0.1337 -0.0913)
OKLCHoklch(39.6% 0.162 325.7)
XYZxyz(10.0141, 5.2539, 17.0063)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1774 #1C7417
analogous
#401774 #6F1774 #74174B
triadic
#6F1774 #746F17 #17746F
tetradic
#6F1774 #744017 #1C7417 #174B74
square
#6F1774 #744017 #1C7417 #174B74
split-complementary
#6F1774 #4B7417 #177440
monochromatic
#18051A #3E0D41 #6F1774 #A021A7 #CD30D6

Accessibility & contrast

On white

10.24
#6F1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1774
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1774#FFFFFF#000000##FFFFFF
##6F17741.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1774;
/* rgb */ color: rgb(111, 23, 116);
/* oklch */ color: oklch(39.6% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#9c609c',
    500: '#6f1774',
    950: '#000000',
  },
}
SCSS
$custom: #6f1774;
$custom-light: #9c609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1774",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 296.774,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.16195,
    "h": 325.7
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#6F1774
secondary
#43A93D
accent
#EA3E47
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1774

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

Preview Lab → · Contrast checker → · Palette generator →

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