#6E1266#6E1266

#6E1266 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.155 H 332.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#6E1266
RGBrgb(110, 18, 102)
HSLhsl(305, 72%, 25%)
HSVhsv(305, 84%, 43%)
CMYKcmyk(0%, 83.6%, 7.3%, 56.9%)
CIE-LABlab(25.89, 47.74, -26.27)
CIE-LCHlch(25.89, 54.49, 331.18°)
OKLaboklab(38.17% 0.1372 -0.0723)
OKLCHoklch(38.17% 0.155 332.2)
XYZxyz(9.0450, 4.7077, 13.0001)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1266 #126E1A
analogous
#48126E #6E1266 #6E1238
triadic
#6E1266 #666E12 #12666E
tetradic
#6E1266 #6E4812 #126E1A #12386E
square
#6E1266 #6E4812 #126E1A #12386E
split-complementary
#6E1266 #386E12 #126E48
monochromatic
#1A0418 #390935 #6E1266 #A31B97 #D723C8

Accessibility & contrast

On white

10.82
#6E1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6E1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1266
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1266#FFFFFF#000000##FFFFFF
##6E12661.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#324264
Tritanopia (blue-blind)
#731E3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6e1266;
/* rgb */ color: rgb(110, 18, 102);
/* oklch */ color: oklch(38.2% 0.155 332.2);
Tailwind
colors: {
  custom: {
    50: '#9b5d92',
    500: '#6e1266',
    950: '#000000',
  },
}
SCSS
$custom: #6e1266;
$custom-light: #9b5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1266",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 305.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.15509,
    "h": 332.2
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#6E1266
secondary
#37A540
accent
#EF4939
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E1266

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

Preview Lab → · Contrast checker → · Palette generator →

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