#6F127E#6F127E

#6F127E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.175 H 321.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6F127E
RGBrgb(111, 18, 126)
HSLhsl(292, 75%, 28%)
HSVhsv(292, 86%, 49%)
CMYKcmyk(11.9%, 85.7%, 0%, 50.6%)
CIE-LABlab(27.63, 52.16, -38.86)
CIE-LCHlch(27.63, 65.04, 323.31°)
OKLaboklab(39.94% 0.1366 -0.109)
OKLCHoklch(39.94% 0.175 321.4)
XYZxyz(10.5373, 5.3191, 20.2063)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F127E #217E12
analogous
#39127E #6F127E #7E1257
triadic
#6F127E #7E6F12 #127E6F
tetradic
#6F127E #7E3912 #217E12 #12577E
square
#6F127E #7E3912 #217E12 #12577E
split-complementary
#6F127E #577E12 #127E39
monochromatic
#18041B #400A48 #6F127E #9E1AB4 #C72AE1

Accessibility & contrast

On white

10.18
#6F127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F127E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F127E#FFFFFF#000000##FFFFFF
##6F127E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#702B4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f127e;
/* rgb */ color: rgb(111, 18, 126);
/* oklch */ color: oklch(39.9% 0.175 321.4);
Tailwind
colors: {
  custom: {
    50: '#9c5fa4',
    500: '#6f127e',
    950: '#000000',
  },
}
SCSS
$custom: #6f127e;
$custom-light: #9c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f127e",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 291.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3994,
    "c": 0.17475,
    "h": 321.4
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#6F127E
secondary
#49B438
accent
#F23650
background
#FAF5FA
surface
#F3EAF4
border
#CDC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #6F127E

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

Preview Lab → · Contrast checker → · Palette generator →

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