#6F2279#6F2279

#6F2279 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 322.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6F2279
RGBrgb(111, 34, 121)
HSLhsl(293, 56%, 30%)
HSVhsv(293, 72%, 47%)
CMYKcmyk(8.3%, 71.9%, 0%, 52.5%)
CIE-LABlab(29.17, 45.81, -33.23)
CIE-LCHlch(29.17, 56.59, 324.04°)
OKLaboklab(40.93% 0.1225 -0.0926)
OKLCHoklch(40.93% 0.154 322.9)
XYZxyz(10.5784, 5.9046, 18.6680)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2279 #2C7922
analogous
#432279 #6F2279 #792258
triadic
#6F2279 #796F22 #22796F
tetradic
#6F2279 #794322 #2C7922 #225879
square
#6F2279 #794322 #2C7922 #225879
split-complementary
#6F2279 #587922 #227943
monochromatic
#170719 #431549 #6F2279 #9B2FA9 #BD49CC

Accessibility & contrast

On white

9.63
#6F2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2279
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2279#FFFFFF#000000##FFFFFF
##6F22791.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7B
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#71314B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f2279;
/* rgb */ color: rgb(111, 34, 121);
/* oklch */ color: oklch(40.9% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#9b65a0',
    500: '#6f2279',
    950: '#000000',
  },
}
SCSS
$custom: #6f2279;
$custom-light: #9b65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2279",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 293.103,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.15357,
    "h": 322.9
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#6F2279
secondary
#56AC4B
accent
#DF485A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F2279

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

Preview Lab → · Contrast checker → · Palette generator →

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