#6F277F#6F277F

#6F277F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.153 H 319.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6F277F
RGBrgb(111, 39, 127)
HSLhsl(289, 53%, 33%)
HSVhsv(289, 69%, 50%)
CMYKcmyk(12.6%, 69.3%, 0%, 50.2%)
CIE-LABlab(30.31, 44.86, -35.19)
CIE-LCHlch(30.31, 57.02, 321.89°)
OKLaboklab(41.87% 0.1165 -0.0984)
OKLCHoklch(41.87% 0.153 319.8)
XYZxyz(11.1114, 6.3634, 20.7175)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F277F #377F27
analogous
#43277F #6F277F #7F2763
triadic
#6F277F #7F6F27 #277F6F
tetradic
#6F277F #7F4327 #377F27 #27637F
square
#6F277F #7F4327 #377F27 #27637F
split-complementary
#6F277F #637F27 #277F43
monochromatic
#1D0A21 #461950 #6F277F #9835AE #B655CB

Accessibility & contrast

On white

9.24
#6F277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F277F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F277F#FFFFFF#000000##FFFFFF
##6F277F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074282
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#6F3750
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f277f;
/* rgb */ color: rgb(111, 39, 127);
/* oklch */ color: oklch(41.9% 0.153 319.8);
Tailwind
colors: {
  custom: {
    50: '#9b67a4',
    500: '#6f277f',
    950: '#000000',
  },
}
SCSS
$custom: #6f277f;
$custom-light: #9b67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f277f",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 289.091,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.15252,
    "h": 319.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#6F277F
secondary
#63B052
accent
#DC4B66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F277F

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

Preview Lab → · Contrast checker → · Palette generator →

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