#6F276B#6F276B

#6F276B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.134 H 330.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6F276B
RGBrgb(111, 39, 107)
HSLhsl(303, 48%, 29%)
HSVhsv(303, 65%, 44%)
CMYKcmyk(0%, 64.9%, 3.6%, 56.5%)
CIE-LABlab(29.14, 40.96, -24.35)
CIE-LCHlch(29.14, 47.65, 329.26°)
OKLaboklab(40.64% 0.1158 -0.067)
OKLCHoklch(40.64% 0.134 330)
XYZxyz(9.9348, 5.8928, 14.5212)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F276B #276F2B
analogous
#4F276F #6F276B #6F2747
triadic
#6F276B #6B6F27 #276B6F
tetradic
#6F276B #6F4F27 #276F2B #27476F
square
#6F276B #6F4F27 #276F2B #27476F
split-complementary
#6F276B #476F27 #276F4F
monochromatic
#170816 #42173F #6F276B #9C3797 #C14FBB

Accessibility & contrast

On white

9.64
#6F276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F276B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F276B#FFFFFF#000000##FFFFFF
##6F276B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#3A4869
Tritanopia (blue-blind)
#732F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f276b;
/* rgb */ color: rgb(111, 39, 107);
/* oklch */ color: oklch(40.6% 0.134 330.0);
Tailwind
colors: {
  custom: {
    50: '#9b6795',
    500: '#6f276b',
    950: '#000000',
  },
}
SCSS
$custom: #6f276b;
$custom-light: #9b6795;
$custom-dark: #000000;
JSON
{
  "hex": "#6f276b",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 303.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.13377,
    "h": 330
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#6F276B
secondary
#50A255
accent
#D85850
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F276B

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

Preview Lab → · Contrast checker → · Palette generator →

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