#6E286F#6E286F

#6E286F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.135 H 327.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6E286F
RGBrgb(110, 40, 111)
HSLhsl(299, 47%, 30%)
HSVhsv(299, 64%, 44%)
CMYKcmyk(0.9%, 64%, 0%, 56.5%)
CIE-LABlab(29.36, 40.97, -26.57)
CIE-LCHlch(29.36, 48.83, 327.03°)
OKLaboklab(40.85% 0.1136 -0.0734)
OKLCHoklch(40.85% 0.135 327.1)
XYZxyz(10.0583, 5.9809, 15.6605)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E286F #296F28
analogous
#4B286F #6E286F #6F284D
triadic
#6E286F #6F6E28 #286F6E
tetradic
#6E286F #6F4B28 #296F28 #284D6F
square
#6E286F #6F4B28 #296F28 #284D6F
split-complementary
#6E286F #4D6F28 #286F4B
monochromatic
#160816 #411842 #6E286F #9B389C #BF51C0

Accessibility & contrast

On white

9.56
#6E286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E286F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E286F#FFFFFF#000000##FFFFFF
##6E286F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#713147
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e286f;
/* rgb */ color: rgb(110, 40, 111);
/* oklch */ color: oklch(40.8% 0.135 327.1);
Tailwind
colors: {
  custom: {
    50: '#9a6798',
    500: '#6e286f',
    950: '#000000',
  },
}
SCSS
$custom: #6e286f;
$custom-light: #9a6798;
$custom-dark: #000000;
JSON
{
  "hex": "#6e286f",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 299.155,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.13528,
    "h": 327.1
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#6E286F
secondary
#53A151
accent
#D75153
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E286F

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

Preview Lab → · Contrast checker → · Palette generator →

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