#6E1071#6E1071

#6E1071 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.165 H 326.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#6E1071
RGBrgb(110, 16, 113)
HSLhsl(298, 75%, 25%)
HSVhsv(298, 86%, 44%)
CMYKcmyk(2.7%, 85.8%, 0%, 55.7%)
CIE-LABlab(26.39, 50.12, -32.58)
CIE-LCHlch(26.39, 59.78, 326.97°)
OKLaboklab(38.75% 0.1383 -0.0907)
OKLCHoklch(38.75% 0.165 326.8)
XYZxyz(9.5962, 4.8785, 16.0558)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1071 #137110
analogous
#3D1071 #6E1071 #711044
triadic
#6E1071 #716E10 #10716E
tetradic
#6E1071 #713D10 #137110 #104471
square
#6E1071 #713D10 #137110 #104471
split-complementary
#6E1071 #447110 #10713D
monochromatic
#1A041B #3A083B #6E1071 #A218A7 #D61FDC

Accessibility & contrast

On white

10.63
#6E1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1071
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1071#FFFFFF#000000##FFFFFF
##6E10711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#712342
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e1071;
/* rgb */ color: rgb(110, 16, 113);
/* oklch */ color: oklch(38.7% 0.165 326.8);
Tailwind
colors: {
  custom: {
    50: '#9b5d9a',
    500: '#6e1071',
    950: '#000000',
  },
}
SCSS
$custom: #6e1071;
$custom-light: #9b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1071",
  "rgb": {
    "r": 110,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 298.144,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.16539,
    "h": 326.8
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#6E1071
secondary
#38A934
accent
#F2363C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1071

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

Preview Lab → · Contrast checker → · Palette generator →

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