#6F2170#6F2170

#6F2170 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 327.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6F2170
RGBrgb(111, 33, 112)
HSLhsl(299, 54%, 28%)
HSVhsv(299, 71%, 44%)
CMYKcmyk(0.9%, 70.5%, 0%, 56.1%)
CIE-LABlab(28.48, 44.51, -28.60)
CIE-LCHlch(28.48, 52.91, 327.28°)
OKLaboklab(40.26% 0.1236 -0.0792)
OKLCHoklch(40.26% 0.147 327.4)
XYZxyz(10.0239, 5.6378, 15.8863)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2170 #227021
analogous
#472170 #6F2170 #702149
triadic
#6F2170 #706F21 #21706F
tetradic
#6F2170 #704721 #227021 #214970
square
#6F2170 #704721 #227021 #214970
split-complementary
#6F2170 #497021 #217047
monochromatic
#170718 #401341 #6F2170 #9E2F9F #C644C8

Accessibility & contrast

On white

9.87
#6F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2170
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2170#FFFFFF#000000##FFFFFF
##6F21701.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#722C46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f2170;
/* rgb */ color: rgb(111, 33, 112);
/* oklch */ color: oklch(40.3% 0.147 327.4);
Tailwind
colors: {
  custom: {
    50: '#9b6499',
    500: '#6f2170',
    950: '#000000',
  },
}
SCSS
$custom: #6f2170;
$custom-light: #9b6499;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2170",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 299.241,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.14679,
    "h": 327.4
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#6F2170
secondary
#4AA449
accent
#DE4A4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2170

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

Preview Lab → · Contrast checker → · Palette generator →

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