#6F126D#6F126D

#6F126D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.161 H 329.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6F126D
RGBrgb(111, 18, 109)
HSLhsl(301, 72%, 25%)
HSVhsv(301, 84%, 44%)
CMYKcmyk(0%, 83.8%, 1.8%, 56.5%)
CIE-LABlab(26.50, 49.13, -29.82)
CIE-LCHlch(26.50, 57.47, 328.74°)
OKLaboklab(38.78% 0.1382 -0.0826)
OKLCHoklch(38.78% 0.161 329.1)
XYZxyz(9.5321, 4.9170, 14.9121)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F126D #126F14
analogous
#42126F #6F126D #6F123F
triadic
#6F126D #6D6F12 #126D6F
tetradic
#6F126D #6F4212 #126F14 #123F6F
square
#6F126D #6F4212 #126F14 #123F6F
split-complementary
#6F126D #3F6F12 #126F42
monochromatic
#1A041A #3A0939 #6F126D #A41BA1 #D823D4

Accessibility & contrast

On white

10.59
#6F126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F126D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F126D#FFFFFF#000000##FFFFFF
##6F126D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#732240
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f126d;
/* rgb */ color: rgb(111, 18, 109);
/* oklch */ color: oklch(38.8% 0.161 329.1);
Tailwind
colors: {
  custom: {
    50: '#9c5e97',
    500: '#6f126d',
    950: '#000000',
  },
}
SCSS
$custom: #6f126d;
$custom-light: #9c5e97;
$custom-dark: #000000;
JSON
{
  "hex": "#6f126d",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 301.29,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.16102,
    "h": 329.1
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#6F126D
secondary
#37A639
accent
#EF3D39
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F126D

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

Preview Lab → · Contrast checker → · Palette generator →

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