#6F277D#6F277D

#6F277D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.151 H 320.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6F277D
RGBrgb(111, 39, 125)
HSLhsl(290, 52%, 32%)
HSVhsv(290, 69%, 49%)
CMYKcmyk(11.2%, 68.8%, 0%, 51%)
CIE-LABlab(30.19, 44.45, -34.13)
CIE-LCHlch(30.19, 56.05, 322.48°)
OKLaboklab(41.74% 0.1166 -0.0953)
OKLCHoklch(41.74% 0.151 320.7)
XYZxyz(10.9823, 6.3118, 20.0379)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F277D #357D27
analogous
#44277D #6F277D #7D2760
triadic
#6F277D #7D6F27 #277D6F
tetradic
#6F277D #7D4427 #357D27 #27607D
square
#6F277D #7D4427 #357D27 #27607D
split-complementary
#6F277D #607D27 #277D44
monochromatic
#1C0A20 #46184E #6F277D #9836AC #B755CA

Accessibility & contrast

On white

9.28
#6F277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6F277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F277D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F277D#FFFFFF#000000##FFFFFF
##6F277D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#70364E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f277d;
/* rgb */ color: rgb(111, 39, 125);
/* oklch */ color: oklch(41.7% 0.151 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b67a3',
    500: '#6f277d',
    950: '#000000',
  },
}
SCSS
$custom: #6f277d;
$custom-light: #9b67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f277d",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 290.233,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.15059,
    "h": 320.7
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#6F277D
secondary
#60AF51
accent
#DC4C63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F277D

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

Preview Lab → · Contrast checker → · Palette generator →

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