#6F137E#6F137E

#6F137E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 321.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6F137E
RGBrgb(111, 19, 126)
HSLhsl(292, 74%, 28%)
HSVhsv(292, 85%, 49%)
CMYKcmyk(11.9%, 84.9%, 0%, 50.6%)
CIE-LABlab(27.72, 51.89, -38.72)
CIE-LCHlch(27.72, 64.75, 323.27°)
OKLaboklab(40% 0.1359 -0.1086)
OKLCHoklch(40% 0.174 321.4)
XYZxyz(10.5539, 5.3522, 20.2118)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F137E #227E13
analogous
#39137E #6F137E #7E1357
triadic
#6F137E #7E6F13 #137E6F
tetradic
#6F137E #7E3913 #227E13 #13577E
square
#6F137E #7E3913 #227E13 #13577E
split-complementary
#6F137E #577E13 #137E39
monochromatic
#17041B #400B49 #6F137E #9E1BB3 #C62CDF

Accessibility & contrast

On white

10.14
#6F137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6F137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F137E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F137E#FFFFFF#000000##FFFFFF
##6F137E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f137e;
/* rgb */ color: rgb(111, 19, 126);
/* oklch */ color: oklch(40.0% 0.174 321.4);
Tailwind
colors: {
  custom: {
    50: '#9c5fa4',
    500: '#6f137e',
    950: '#000000',
  },
}
SCSS
$custom: #6f137e;
$custom-light: #9c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f137e",
  "rgb": {
    "r": 111,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 291.589,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40003,
    "c": 0.17394,
    "h": 321.4
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#6F137E
secondary
#4AB439
accent
#F03751
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6F137E

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

Preview Lab → · Contrast checker → · Palette generator →

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