#6E1F71#6E1F71

#6E1F71 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.150 H 326.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#6E1F71
RGBrgb(110, 31, 113)
HSLhsl(298, 57%, 28%)
HSVhsv(298, 73%, 44%)
CMYKcmyk(2.7%, 72.6%, 0%, 55.7%)
CIE-LABlab(28.08, 45.25, -29.88)
CIE-LCHlch(28.08, 54.23, 326.56°)
OKLaboklab(39.96% 0.1247 -0.0829)
OKLCHoklch(39.96% 0.15 326.4)
XYZxyz(9.9008, 5.4879, 16.1574)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F71 #22711F
analogous
#451F71 #6E1F71 #711F4B
triadic
#6E1F71 #716E1F #1F716E
tetradic
#6E1F71 #71451F #22711F #1F4B71
square
#6E1F71 #71451F #22711F #1F4B71
split-complementary
#6E1F71 #4B711F #1F7145
monochromatic
#170718 #3F1241 #6E1F71 #9D2CA1 #C540CB

Accessibility & contrast

On white

10.01
#6E1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E1F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F71
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F71#FFFFFF#000000##FFFFFF
##6E1F711.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#712C46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1f71;
/* rgb */ color: rgb(110, 31, 113);
/* oklch */ color: oklch(40.0% 0.150 326.4);
Tailwind
colors: {
  custom: {
    50: '#9a639a',
    500: '#6e1f71',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f71;
$custom-light: #9a639a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f71",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 297.805,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.14974,
    "h": 326.4
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#6E1F71
secondary
#4AA547
accent
#E0484D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E1F71

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

Preview Lab → · Contrast checker → · Palette generator →

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