#6E2E7F#6E2E7F

#6E2E7F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.142 H 318.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6E2E7F
RGBrgb(110, 46, 127)
HSLhsl(287, 47%, 34%)
HSVhsv(287, 64%, 50%)
CMYKcmyk(13.4%, 63.8%, 0%, 50.2%)
CIE-LABlab(31.35, 41.30, -33.54)
CIE-LCHlch(31.35, 53.20, 320.93°)
OKLaboklab(42.59% 0.1065 -0.0937)
OKLCHoklch(42.59% 0.142 318.7)
XYZxyz(11.2377, 6.8018, 20.7955)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E7F #3F7F2E
analogous
#462E7F #6E2E7F #7F2E68
triadic
#6E2E7F #7F6E2E #2E7F6E
tetradic
#6E2E7F #7F462E #3F7F2E #2E687F
square
#6E2E7F #7F462E #3F7F2E #2E687F
split-complementary
#6E2E7F #687F2E #2E7F46
monochromatic
#200D25 #471E52 #6E2E7F #953EAC #B161C6

Accessibility & contrast

On white

8.90
#6E2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E7F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E7F#FFFFFF#000000##FFFFFF
##6E2E7F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184681
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#6E3C52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2e7f;
/* rgb */ color: rgb(110, 46, 127);
/* oklch */ color: oklch(42.6% 0.142 318.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ba4',
    500: '#6e2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e7f;
$custom-light: #9a6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e7f",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 287.407,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.14182,
    "h": 318.7
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#6E2E7F
secondary
#6DAD5C
accent
#D6516D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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