#6F337A#6F337A

#6F337A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.1% C 0.129 H 321.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6F337A
RGBrgb(111, 51, 122)
HSLhsl(291, 41%, 34%)
HSVhsv(291, 58%, 48%)
CMYKcmyk(9%, 58.2%, 0%, 52.2%)
CIE-LABlab(32.15, 37.95, -29.12)
CIE-LCHlch(32.15, 47.84, 322.50°)
OKLaboklab(43.11% 0.1006 -0.0808)
OKLCHoklch(43.11% 0.129 321.2)
XYZxyz(11.2518, 7.1528, 19.1965)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F337A #3E7A33
analogous
#4C337A #6F337A #7A3362
triadic
#6F337A #7A6F33 #337A6F
tetradic
#6F337A #7A4C33 #3E7A33 #33627A
square
#6F337A #7A4C33 #3E7A33 #33627A
split-complementary
#6F337A #627A33 #337A4C
monochromatic
#200F24 #48214F #6F337A #9645A5 #B268C0

Accessibility & contrast

On white

8.64
#6F337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F337A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F337A#FFFFFF#000000##FFFFFF
##6F337A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#703D51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f337a;
/* rgb */ color: rgb(111, 51, 122);
/* oklch */ color: oklch(43.1% 0.129 321.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ea1',
    500: '#6f337a',
    950: '#000000',
  },
}
SCSS
$custom: #6f337a;
$custom-light: #9a6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f337a",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 290.704,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.12908,
    "h": 321.2
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#6F337A
secondary
#6CA861
accent
#D1576A
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6F337A

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

Preview Lab → · Contrast checker → · Palette generator →

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