#6F1174#6F1174

#6F1174 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.167 H 325.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6F1174
RGBrgb(111, 17, 116)
HSLhsl(297, 74%, 26%)
HSVhsv(297, 85%, 45%)
CMYKcmyk(4.3%, 85.3%, 0%, 54.5%)
CIE-LABlab(26.85, 50.60, -33.75)
CIE-LCHlch(26.85, 60.82, 326.30°)
OKLaboklab(39.18% 0.1385 -0.094)
OKLCHoklch(39.18% 0.167 325.8)
XYZxyz(9.9082, 5.0421, 16.9710)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1174 #167411
analogous
#3D1174 #6F1174 #741147
triadic
#6F1174 #746F11 #11746F
tetradic
#6F1174 #743D11 #167411 #114774
square
#6F1174 #743D11 #167411 #114774
split-complementary
#6F1174 #477411 #11743D
monochromatic
#1A041B #3C093F #6F1174 #A219A9 #D521DE

Accessibility & contrast

On white

10.46
#6F1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6F1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1174
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1174#FFFFFF#000000##FFFFFF
##6F11741.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#722544
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f1174;
/* rgb */ color: rgb(111, 17, 116);
/* oklch */ color: oklch(39.2% 0.167 325.8);
Tailwind
colors: {
  custom: {
    50: '#9c5e9c',
    500: '#6f1174',
    950: '#000000',
  },
}
SCSS
$custom: #6f1174;
$custom-light: #9c5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1174",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 296.97,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.16742,
    "h": 325.8
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#6F1174
secondary
#3CAB36
accent
#F13740
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1174

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

Preview Lab → · Contrast checker → · Palette generator →

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