#6D126F#6D126F

#6D126F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.162 H 327.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#6D126F
RGBrgb(109, 18, 111)
HSLhsl(299, 72%, 25%)
HSVhsv(299, 84%, 44%)
CMYKcmyk(1.8%, 83.8%, 0%, 56.5%)
CIE-LABlab(26.25, 49.04, -31.52)
CIE-LCHlch(26.25, 58.30, 327.27°)
OKLaboklab(38.58% 0.1359 -0.0876)
OKLCHoklch(38.58% 0.162 327.2)
XYZxyz(9.3921, 4.8322, 15.4739)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D126F #146F12
analogous
#3F126F #6D126F #6F1242
triadic
#6D126F #6F6D12 #126F6D
tetradic
#6D126F #6F3F12 #146F12 #12426F
square
#6D126F #6F3F12 #146F12 #12426F
split-complementary
#6D126F #426F12 #126F3F
monochromatic
#1A041A #39093A #6D126F #A11BA4 #D423D8

Accessibility & contrast

On white

10.68
#6D126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6D126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D126F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D126F#FFFFFF#000000##FFFFFF
##6D126F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#702341
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d126f;
/* rgb */ color: rgb(109, 18, 111);
/* oklch */ color: oklch(38.6% 0.162 327.2);
Tailwind
colors: {
  custom: {
    50: '#9a5d99',
    500: '#6d126f',
    950: '#000000',
  },
}
SCSS
$custom: #6d126f;
$custom-light: #9a5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#6d126f",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 298.71,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.16166,
    "h": 327.2
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#6D126F
secondary
#39A637
accent
#EF393D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D126F

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

Preview Lab → · Contrast checker → · Palette generator →

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