#6E126F#6E126F

#6E126F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.162 H 327.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#6E126F
RGBrgb(110, 18, 111)
HSLhsl(299, 72%, 25%)
HSVhsv(299, 84%, 44%)
CMYKcmyk(0.9%, 83.8%, 0%, 56.5%)
CIE-LABlab(26.44, 49.25, -31.22)
CIE-LCHlch(26.44, 58.31, 327.63°)
OKLaboklab(38.74% 0.137 -0.0867)
OKLCHoklch(38.74% 0.162 327.7)
XYZxyz(9.5158, 4.8960, 15.4797)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E126F #136F12
analogous
#3F126F #6E126F #6F1241
triadic
#6E126F #6F6E12 #126F6E
tetradic
#6E126F #6F3F12 #136F12 #12416F
square
#6E126F #6F3F12 #136F12 #12416F
split-complementary
#6E126F #416F12 #126F3F
monochromatic
#1A041A #3A093A #6E126F #A21BA4 #D623D8

Accessibility & contrast

On white

10.61
#6E126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E126F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E126F#FFFFFF#000000##FFFFFF
##6E126F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2D426D
Tritanopia (blue-blind)
#722341
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e126f;
/* rgb */ color: rgb(110, 18, 111);
/* oklch */ color: oklch(38.7% 0.162 327.7);
Tailwind
colors: {
  custom: {
    50: '#9b5e99',
    500: '#6e126f',
    950: '#000000',
  },
}
SCSS
$custom: #6e126f;
$custom-light: #9b5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6e126f",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 299.355,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.16213,
    "h": 327.7
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#6E126F
secondary
#38A637
accent
#EF393B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E126F

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

Preview Lab → · Contrast checker → · Palette generator →

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