#6F277A#6F277A

#6F277A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 322.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6F277A
RGBrgb(111, 39, 122)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 68%, 48%)
CMYKcmyk(9%, 68%, 0%, 52.2%)
CIE-LABlab(30.00, 43.85, -32.54)
CIE-LCHlch(30.00, 54.60, 323.42°)
OKLaboklab(41.55% 0.1166 -0.0907)
OKLCHoklch(41.55% 0.148 322.1)
XYZxyz(10.7935, 6.2363, 19.0438)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F277A #327A27
analogous
#46277A #6F277A #7A275C
triadic
#6F277A #7A6F27 #277A6F
tetradic
#6F277A #7A4627 #327A27 #275C7A
square
#6F277A #7A4627 #327A27 #275C7A
split-complementary
#6F277A #5C7A27 #277A46
monochromatic
#1B091D #45184C #6F277A #9936A8 #B953C8

Accessibility & contrast

On white

9.34
#6F277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F277A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F277A#FFFFFF#000000##FFFFFF
##6F277A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#324978
Tritanopia (blue-blind)
#70354D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f277a;
/* rgb */ color: rgb(111, 39, 122);
/* oklch */ color: oklch(41.5% 0.148 322.1);
Tailwind
colors: {
  custom: {
    50: '#9b67a1',
    500: '#6f277a',
    950: '#000000',
  },
}
SCSS
$custom: #6f277a;
$custom-light: #9b67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f277a",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 292.048,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.14771,
    "h": 322.1
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#6F277A
secondary
#5DAC51
accent
#DB4D60
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F277A

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

Preview Lab → · Contrast checker → · Palette generator →

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