#6F126A#6F126A

#6F126A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.159 H 330.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6F126A
RGBrgb(111, 18, 106)
HSLhsl(303, 72%, 25%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 83.8%, 4.5%, 56.5%)
CIE-LABlab(26.31, 48.62, -28.17)
CIE-LCHlch(26.31, 56.19, 329.91°)
OKLaboklab(38.59% 0.1383 -0.0778)
OKLCHoklch(38.59% 0.159 330.6)
XYZxyz(9.3734, 4.8535, 14.0760)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F126A #126F17
analogous
#45126F #6F126A #6F123B
triadic
#6F126A #6A6F12 #126A6F
tetradic
#6F126A #6F4512 #126F17 #123B6F
square
#6F126A #6F4512 #126F17 #123B6F
split-complementary
#6F126A #3B6F12 #126F45
monochromatic
#1A0419 #3A0938 #6F126A #A41B9C #D823CF

Accessibility & contrast

On white

10.66
#6F126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F126A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F126A#FFFFFF#000000##FFFFFF
##6F126A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366C
Deuteranopia (green-blind)
#314368
Tritanopia (blue-blind)
#74203E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f126a;
/* rgb */ color: rgb(111, 18, 106);
/* oklch */ color: oklch(38.6% 0.159 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5e95',
    500: '#6f126a',
    950: '#000000',
  },
}
SCSS
$custom: #6f126a;
$custom-light: #9c5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6f126a",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 303.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.15868,
    "h": 330.6
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#6F126A
secondary
#37A63D
accent
#EF4339
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F126A

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

Preview Lab → · Contrast checker → · Palette generator →

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