#6F2175#6F2175

#6F2175 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.151 H 324.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6F2175
RGBrgb(111, 33, 117)
HSLhsl(296, 56%, 29%)
HSVhsv(296, 72%, 46%)
CMYKcmyk(5.1%, 71.8%, 0%, 54.1%)
CIE-LABlab(28.78, 45.45, -31.31)
CIE-LCHlch(28.78, 55.19, 325.43°)
OKLaboklab(40.57% 0.1237 -0.0871)
OKLCHoklch(40.57% 0.151 324.9)
XYZxyz(10.3100, 5.7522, 17.3934)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2175 #277521
analogous
#452175 #6F2175 #752151
triadic
#6F2175 #756F21 #21756F
tetradic
#6F2175 #754521 #277521 #215175
square
#6F2175 #754521 #277521 #215175
split-complementary
#6F2175 #517521 #217545
monochromatic
#170718 #421445 #6F2175 #9C2EA5 #C146CB

Accessibility & contrast

On white

9.77
#6F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2175
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2175#FFFFFF#000000##FFFFFF
##6F21751.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E77
Deuteranopia (green-blind)
#314773
Tritanopia (blue-blind)
#712F48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2175;
/* rgb */ color: rgb(111, 33, 117);
/* oklch */ color: oklch(40.6% 0.151 324.9);
Tailwind
colors: {
  custom: {
    50: '#9b649d',
    500: '#6f2175',
    950: '#000000',
  },
}
SCSS
$custom: #6f2175;
$custom-light: #9b649d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2175",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 295.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.15124,
    "h": 324.9
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#6F2175
secondary
#50A84A
accent
#DF4953
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2175

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

Preview Lab → · Contrast checker → · Palette generator →

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