#6F187E#6F187E

#6F187E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.169 H 321.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6F187E
RGBrgb(111, 24, 126)
HSLhsl(291, 68%, 29%)
HSVhsv(291, 81%, 49%)
CMYKcmyk(11.9%, 81%, 0%, 50.6%)
CIE-LABlab(28.22, 50.43, -37.91)
CIE-LCHlch(28.22, 63.09, 323.07°)
OKLaboklab(40.36% 0.132 -0.1063)
OKLCHoklch(40.36% 0.169 321.2)
XYZxyz(10.6476, 5.5397, 20.2431)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187E #277E18
analogous
#3C187E #6F187E #7E185A
triadic
#6F187E #7E6F18 #187E6F
tetradic
#6F187E #7E3C18 #277E18 #185A7E
square
#6F187E #7E3C18 #277E18 #185A7E
split-complementary
#6F187E #5A7E18 #187E3C
monochromatic
#17051A #420E4B #6F187E #9C22B1 #C137D9

Accessibility & contrast

On white

9.96
#6F187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6F187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F187E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187E#FFFFFF#000000##FFFFFF
##6F187E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#702E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f187e;
/* rgb */ color: rgb(111, 24, 126);
/* oklch */ color: oklch(40.4% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#9c61a4',
    500: '#6f187e',
    950: '#000000',
  },
}
SCSS
$custom: #6f187e;
$custom-light: #9c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187e",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 291.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.16942,
    "h": 321.2
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#6F187E
secondary
#50B23F
accent
#EB3D57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F187E

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

Preview Lab → · Contrast checker → · Palette generator →

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