#6F2174#6F2174

#6F2174 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.150 H 325.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6F2174
RGBrgb(111, 33, 116)
HSLhsl(296, 56%, 29%)
HSVhsv(296, 72%, 45%)
CMYKcmyk(4.3%, 71.6%, 0%, 54.5%)
CIE-LABlab(28.72, 45.26, -30.77)
CIE-LCHlch(28.72, 54.73, 325.78°)
OKLaboklab(40.51% 0.1237 -0.0855)
OKLCHoklch(40.51% 0.15 325.3)
XYZxyz(10.2516, 5.7288, 17.0854)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2174 #267421
analogous
#462174 #6F2174 #742150
triadic
#6F2174 #746F21 #21746F
tetradic
#6F2174 #744621 #267421 #215074
square
#6F2174 #744621 #267421 #215074
split-complementary
#6F2174 #507421 #217446
monochromatic
#170718 #411344 #6F2174 #9D2FA4 #C245CA

Accessibility & contrast

On white

9.79
#6F2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2174
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2174#FFFFFF#000000##FFFFFF
##6F21741.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3E76
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#722E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2174;
/* rgb */ color: rgb(111, 33, 116);
/* oklch */ color: oklch(40.5% 0.150 325.3);
Tailwind
colors: {
  custom: {
    50: '#9b649c',
    500: '#6f2174',
    950: '#000000',
  },
}
SCSS
$custom: #6f2174;
$custom-light: #9b649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2174",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 296.386,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.15034,
    "h": 325.3
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#6F2174
secondary
#4FA749
accent
#DF4952
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2174

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

Preview Lab → · Contrast checker → · Palette generator →

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