#6E1268#6E1268

#6E1268 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.157 H 331.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6E1268
RGBrgb(110, 18, 104)
HSLhsl(304, 72%, 25%)
HSVhsv(304, 84%, 43%)
CMYKcmyk(0%, 83.6%, 5.5%, 56.9%)
CIE-LABlab(26.00, 48.07, -27.38)
CIE-LCHlch(26.00, 55.32, 330.33°)
OKLaboklab(38.3% 0.1372 -0.0756)
OKLCHoklch(38.3% 0.157 331.2)
XYZxyz(9.1454, 4.7478, 13.5288)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1268 #126E18
analogous
#46126E #6E1268 #6E123A
triadic
#6E1268 #686E12 #12686E
tetradic
#6E1268 #6E4612 #126E18 #123A6E
square
#6E1268 #6E4612 #126E18 #123A6E
split-complementary
#6E1268 #3A6E12 #126E46
monochromatic
#1A0419 #390936 #6E1268 #A31B9A #D723CB

Accessibility & contrast

On white

10.77
#6E1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6E1268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1268
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1268#FFFFFF#000000##FFFFFF
##6E12681.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#314266
Tritanopia (blue-blind)
#731F3D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e1268;
/* rgb */ color: rgb(110, 18, 104);
/* oklch */ color: oklch(38.3% 0.157 331.2);
Tailwind
colors: {
  custom: {
    50: '#9b5d93',
    500: '#6e1268',
    950: '#000000',
  },
}
SCSS
$custom: #6e1268;
$custom-light: #9b5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1268",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 303.913,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.15663,
    "h": 331.2
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#6E1268
secondary
#37A53E
accent
#EF4539
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6E1268

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

Preview Lab → · Contrast checker → · Palette generator →

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