#6E277F#6E277F

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

Color values

HEX#6E277F
RGBrgb(110, 39, 127)
HSLhsl(288, 53%, 33%)
HSVhsv(288, 69%, 50%)
CMYKcmyk(13.4%, 69.3%, 0%, 50.2%)
CIE-LABlab(30.15, 44.62, -35.45)
CIE-LCHlch(30.15, 56.99, 321.54°)
OKLaboklab(41.73% 0.1153 -0.0992)
OKLCHoklch(41.73% 0.152 319.3)
XYZxyz(10.9862, 6.2988, 20.7117)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E277F #387F27
analogous
#42277F #6E277F #7F2764
triadic
#6E277F #7F6E27 #277F6E
tetradic
#6E277F #7F4227 #387F27 #27647F
square
#6E277F #7F4227 #387F27 #27647F
split-complementary
#6E277F #647F27 #277F42
monochromatic
#1D0A21 #451950 #6E277F #9735AE #B455CB

Accessibility & contrast

On white

9.29
#6E277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E277F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E277F#FFFFFF#000000##FFFFFF
##6E277F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054282
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#6E3750
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e277f;
/* rgb */ color: rgb(110, 39, 127);
/* oklch */ color: oklch(41.7% 0.152 319.3);
Tailwind
colors: {
  custom: {
    50: '#9a67a4',
    500: '#6e277f',
    950: '#000000',
  },
}
SCSS
$custom: #6e277f;
$custom-light: #9a67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e277f",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 288.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.15206,
    "h": 319.3
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#6E277F
secondary
#64B052
accent
#DC4B67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E277F

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

Preview Lab → · Contrast checker → · Palette generator →

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