#6F2A79#6F2A79

#6F2A79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 322.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6F2A79
RGBrgb(111, 42, 121)
HSLhsl(292, 48%, 32%)
HSVhsv(292, 65%, 47%)
CMYKcmyk(8.3%, 65.3%, 0%, 52.5%)
CIE-LABlab(30.44, 42.26, -31.21)
CIE-LCHlch(30.44, 52.53, 323.56°)
OKLaboklab(41.85% 0.1128 -0.0868)
OKLCHoklch(41.85% 0.142 322.4)
XYZxyz(10.8343, 6.4165, 18.7533)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2A79 #34792A
analogous
#482A79 #6F2A79 #792A5C
triadic
#6F2A79 #796F2A #2A796F
tetradic
#6F2A79 #79482A #34792A #2A5C79
square
#6F2A79 #79482A #34792A #2A5C79
split-complementary
#6F2A79 #5C792A #2A7948
monochromatic
#1C0A1E #451A4C #6F2A79 #993AA6 #B758C5

Accessibility & contrast

On white

9.20
#6F2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6F2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2A79
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2A79#FFFFFF#000000##FFFFFF
##6F2A791.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437B
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#71364D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f2a79;
/* rgb */ color: rgb(111, 42, 121);
/* oklch */ color: oklch(41.8% 0.142 322.4);
Tailwind
colors: {
  custom: {
    50: '#9b69a0',
    500: '#6f2a79',
    950: '#000000',
  },
}
SCSS
$custom: #6f2a79;
$custom-light: #9b69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2a79",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 292.405,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.14237,
    "h": 322.4
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#6F2A79
secondary
#5FAB54
accent
#D85061
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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