#6E1274#6E1274

#6E1274 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.166 H 325.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#6E1274
RGBrgb(110, 18, 116)
HSLhsl(296, 73%, 26%)
HSVhsv(296, 84%, 45%)
CMYKcmyk(5.2%, 84.5%, 0%, 54.5%)
CIE-LABlab(26.76, 50.14, -33.91)
CIE-LCHlch(26.76, 60.52, 325.93°)
OKLaboklab(39.08% 0.1366 -0.0945)
OKLCHoklch(39.08% 0.166 325.3)
XYZxyz(9.7989, 5.0092, 16.9704)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1274 #187412
analogous
#3D1274 #6E1274 #741249
triadic
#6E1274 #746E12 #12746E
tetradic
#6E1274 #743D12 #187412 #124974
square
#6E1274 #743D12 #187412 #124974
split-complementary
#6E1274 #497412 #12743D
monochromatic
#19041A #3C0A3F #6E1274 #A01AA9 #D223DD

Accessibility & contrast

On white

10.49
#6E1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6E1274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1274
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1274#FFFFFF#000000##FFFFFF
##6E12741.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#712644
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1274;
/* rgb */ color: rgb(110, 18, 116);
/* oklch */ color: oklch(39.1% 0.166 325.3);
Tailwind
colors: {
  custom: {
    50: '#9b5e9c',
    500: '#6e1274',
    950: '#000000',
  },
}
SCSS
$custom: #6e1274;
$custom-light: #9b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1274",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 296.327,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.16615,
    "h": 325.3
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#6E1274
secondary
#3EAB37
accent
#F03843
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1274

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

Preview Lab → · Contrast checker → · Palette generator →

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