#6F2276#6F2276

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

Color values

HEX#6F2276
RGBrgb(111, 34, 118)
HSLhsl(295, 55%, 30%)
HSVhsv(295, 71%, 46%)
CMYKcmyk(5.9%, 71.2%, 0%, 53.7%)
CIE-LABlab(28.99, 45.23, -31.62)
CIE-LCHlch(28.99, 55.18, 325.04°)
OKLaboklab(40.74% 0.1225 -0.088)
OKLCHoklch(40.74% 0.151 324.3)
XYZxyz(10.3973, 5.8322, 17.7141)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2276 #297622
analogous
#452276 #6F2276 #762253
triadic
#6F2276 #766F22 #22766F
tetradic
#6F2276 #764522 #297622 #225376
square
#6F2276 #764522 #297622 #225376
split-complementary
#6F2276 #537622 #227645
monochromatic
#160718 #421446 #6F2276 #9C30A6 #BF48CA

Accessibility & contrast

On white

9.69
#6F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2276
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2276#FFFFFF#000000##FFFFFF
##6F22761.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E78
Deuteranopia (green-blind)
#314774
Tritanopia (blue-blind)
#713049
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2276;
/* rgb */ color: rgb(111, 34, 118);
/* oklch */ color: oklch(40.7% 0.151 324.3);
Tailwind
colors: {
  custom: {
    50: '#9b659e',
    500: '#6f2276',
    950: '#000000',
  },
}
SCSS
$custom: #6f2276;
$custom-light: #9b659e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2276",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 295,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.15083,
    "h": 324.3
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#6F2276
secondary
#53A94B
accent
#DF4956
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2276

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

Preview Lab → · Contrast checker → · Palette generator →

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