#6F2272#6F2272

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

Color values

HEX#6F2272
RGBrgb(111, 34, 114)
HSLhsl(298, 54%, 29%)
HSVhsv(298, 70%, 45%)
CMYKcmyk(2.6%, 70.2%, 0%, 55.3%)
CIE-LABlab(28.74, 44.47, -29.46)
CIE-LCHlch(28.74, 53.34, 326.48°)
OKLaboklab(40.49% 0.1225 -0.0817)
OKLCHoklch(40.49% 0.147 326.3)
XYZxyz(10.1646, 5.7391, 16.4887)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2272 #257222
analogous
#472272 #6F2272 #72224D
triadic
#6F2272 #726F22 #22726F
tetradic
#6F2272 #724722 #257222 #224D72
square
#6F2272 #724722 #257222 #224D72
split-complementary
#6F2272 #4D7222 #227247
monochromatic
#170718 #411443 #6F2272 #9D30A1 #C346C8

Accessibility & contrast

On white

9.78
#6F2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2272
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2272#FFFFFF#000000##FFFFFF
##6F22721.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E74
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#722E47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2272;
/* rgb */ color: rgb(111, 34, 114);
/* oklch */ color: oklch(40.5% 0.147 326.3);
Tailwind
colors: {
  custom: {
    50: '#9b649b',
    500: '#6f2272',
    950: '#000000',
  },
}
SCSS
$custom: #6f2272;
$custom-light: #9b649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2272",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 297.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.14723,
    "h": 326.3
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#6F2272
secondary
#4EA54B
accent
#DD4A50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2272

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

Preview Lab → · Contrast checker → · Palette generator →

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