#6E126B#6E126B

#6E126B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.159 H 329.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#6E126B
RGBrgb(110, 18, 107)
HSLhsl(302, 72%, 25%)
HSVhsv(302, 84%, 43%)
CMYKcmyk(0%, 83.6%, 2.7%, 56.9%)
CIE-LABlab(26.19, 48.57, -29.03)
CIE-LCHlch(26.19, 56.59, 329.13°)
OKLaboklab(38.49% 0.1372 -0.0804)
OKLCHoklch(38.49% 0.159 329.6)
XYZxyz(9.3005, 4.8099, 14.3456)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E126B #126E15
analogous
#43126E #6E126B #6E123D
triadic
#6E126B #6B6E12 #126B6E
tetradic
#6E126B #6E4312 #126E15 #123D6E
square
#6E126B #6E4312 #126E15 #123D6E
split-complementary
#6E126B #3D6E12 #126E43
monochromatic
#1A041A #390938 #6E126B #A31B9E #D723D1

Accessibility & contrast

On white

10.70
#6E126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E126B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E126B#FFFFFF#000000##FFFFFF
##6E126B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#72213F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e126b;
/* rgb */ color: rgb(110, 18, 107);
/* oklch */ color: oklch(38.5% 0.159 329.6);
Tailwind
colors: {
  custom: {
    50: '#9b5d96',
    500: '#6e126b',
    950: '#000000',
  },
}
SCSS
$custom: #6e126b;
$custom-light: #9b5d96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e126b",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 301.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.15897,
    "h": 329.6
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#6E126B
secondary
#37A53A
accent
#EF3F39
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6E126B

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

Preview Lab → · Contrast checker → · Palette generator →

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