#6E1876#6E1876

#6E1876 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 324.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6E1876
RGBrgb(110, 24, 118)
HSLhsl(295, 66%, 28%)
HSVhsv(295, 80%, 46%)
CMYKcmyk(6.8%, 79.7%, 0%, 53.7%)
CIE-LABlab(27.51, 48.71, -33.98)
CIE-LCHlch(27.51, 59.40, 325.10°)
OKLaboklab(39.65% 0.1315 -0.0948)
OKLCHoklch(39.65% 0.162 324.2)
XYZxyz(10.0268, 5.2769, 17.6264)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1876 #207618
analogous
#3F1876 #6E1876 #76184F
triadic
#6E1876 #766E18 #18766E
tetradic
#6E1876 #763F18 #207618 #184F76
square
#6E1876 #763F18 #207618 #184F76
split-complementary
#6E1876 #4F7618 #18763F
monochromatic
#180519 #3F0E43 #6E1876 #9D22A9 #C833D5

Accessibility & contrast

On white

10.22
#6E1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1876
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1876#FFFFFF#000000##FFFFFF
##6E18761.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#2B4474
Tritanopia (blue-blind)
#702A46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1876;
/* rgb */ color: rgb(110, 24, 118);
/* oklch */ color: oklch(39.6% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#9b609e',
    500: '#6e1876',
    950: '#000000',
  },
}
SCSS
$custom: #6e1876;
$custom-light: #9b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1876",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 294.894,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3965,
    "c": 0.16214,
    "h": 324.2
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#6E1876
secondary
#48AB3F
accent
#E93F4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1876

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

Preview Lab → · Contrast checker → · Palette generator →

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