#6F126B#6F126B

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

Color values

HEX#6F126B
RGBrgb(111, 18, 107)
HSLhsl(303, 72%, 25%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 83.8%, 3.6%, 56.5%)
CIE-LABlab(26.37, 48.79, -28.72)
CIE-LCHlch(26.37, 56.62, 329.51°)
OKLaboklab(38.66% 0.1383 -0.0794)
OKLCHoklch(38.66% 0.159 330.1)
XYZxyz(9.4257, 4.8744, 14.3515)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F126B #126F16
analogous
#45126F #6F126B #6F123C
triadic
#6F126B #6B6F12 #126B6F
tetradic
#6F126B #6F4512 #126F16 #123C6F
square
#6F126B #6F4512 #126F16 #123C6F
split-complementary
#6F126B #3C6F12 #126F45
monochromatic
#1A0419 #3A0938 #6F126B #A41B9E #D823D1

Accessibility & contrast

On white

10.63
#6F126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F126B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F126B#FFFFFF#000000##FFFFFF
##6F126B1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376D
Deuteranopia (green-blind)
#304369
Tritanopia (blue-blind)
#73213F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f126b;
/* rgb */ color: rgb(111, 18, 107);
/* oklch */ color: oklch(38.7% 0.159 330.1);
Tailwind
colors: {
  custom: {
    50: '#9c5e96',
    500: '#6f126b',
    950: '#000000',
  },
}
SCSS
$custom: #6f126b;
$custom-light: #9c5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6f126b",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 302.581,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.15946,
    "h": 330.1
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#6F126B
secondary
#37A63B
accent
#EF4139
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F126B

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

Preview Lab → · Contrast checker → · Palette generator →

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