#6F2178#6F2178

#6F2178 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.154 H 323.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#6F2178
RGBrgb(111, 33, 120)
HSLhsl(294, 57%, 30%)
HSVhsv(294, 73%, 47%)
CMYKcmyk(7.5%, 72.5%, 0%, 52.9%)
CIE-LABlab(28.96, 46.02, -32.92)
CIE-LCHlch(28.96, 56.59, 324.42°)
OKLaboklab(40.76% 0.1236 -0.0918)
OKLCHoklch(40.76% 0.154 323.4)
XYZxyz(10.4893, 5.8239, 18.3373)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2178 #2A7821
analogous
#432178 #6F2178 #782156
triadic
#6F2178 #786F21 #21786F
tetradic
#6F2178 #784321 #2A7821 #215678
square
#6F2178 #784321 #2A7821 #215678
split-complementary
#6F2178 #567821 #217843
monochromatic
#160718 #431448 #6F2178 #9B2EA8 #BF47CC

Accessibility & contrast

On white

9.70
#6F2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2178
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2178#FFFFFF#000000##FFFFFF
##6F21781.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E7A
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#71304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2178;
/* rgb */ color: rgb(111, 33, 120);
/* oklch */ color: oklch(40.8% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#9b649f',
    500: '#6f2178',
    950: '#000000',
  },
}
SCSS
$custom: #6f2178;
$custom-light: #9b649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2178",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 293.793,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.15395,
    "h": 323.4
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#6F2178
secondary
#54AB4A
accent
#E04857
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2178

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

Preview Lab → · Contrast checker → · Palette generator →

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