#6E126A#6E126A

#6E126A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.158 H 330.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#6E126A
RGBrgb(110, 18, 106)
HSLhsl(303, 72%, 25%)
HSVhsv(303, 84%, 43%)
CMYKcmyk(0%, 83.6%, 3.6%, 56.9%)
CIE-LABlab(26.13, 48.40, -28.48)
CIE-LCHlch(26.13, 56.16, 329.52°)
OKLaboklab(38.42% 0.1372 -0.0788)
OKLCHoklch(38.42% 0.158 330.1)
XYZxyz(9.2482, 4.7890, 14.0702)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E126A #126E16
analogous
#44126E #6E126A #6E123C
triadic
#6E126A #6A6E12 #126A6E
tetradic
#6E126A #6E4412 #126E16 #123C6E
square
#6E126A #6E4412 #126E16 #123C6E
split-complementary
#6E126A #3C6E12 #126E44
monochromatic
#1A0419 #390937 #6E126A #A31B9D #D723CF

Accessibility & contrast

On white

10.73
#6E126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6E126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E126A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E126A#FFFFFF#000000##FFFFFF
##6E126A1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#72203E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e126a;
/* rgb */ color: rgb(110, 18, 106);
/* oklch */ color: oklch(38.4% 0.158 330.1);
Tailwind
colors: {
  custom: {
    50: '#9b5d95',
    500: '#6e126a',
    950: '#000000',
  },
}
SCSS
$custom: #6e126a;
$custom-light: #9b5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#6e126a",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 302.609,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.15818,
    "h": 330.1
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#6E126A
secondary
#37A53B
accent
#EF4139
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E126A

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

Preview Lab → · Contrast checker → · Palette generator →

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