#6F187B#6F187B

#6F187B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.167 H 322.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6F187B
RGBrgb(111, 24, 123)
HSLhsl(293, 67%, 29%)
HSVhsv(293, 80%, 48%)
CMYKcmyk(9.8%, 80.5%, 0%, 51.8%)
CIE-LABlab(28.02, 49.86, -36.34)
CIE-LCHlch(28.02, 61.70, 323.91°)
OKLaboklab(40.15% 0.1323 -0.1017)
OKLCHoklch(40.15% 0.167 322.5)
XYZxyz(10.4570, 5.4635, 19.2388)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187B #247B18
analogous
#3E187B #6F187B #7B1856
triadic
#6F187B #7B6F18 #187B6F
tetradic
#6F187B #7B3E18 #247B18 #18567B
square
#6F187B #7B3E18 #247B18 #18567B
split-complementary
#6F187B #567B18 #187B3E
monochromatic
#17051A #410E48 #6F187B #9D22AE #C436D8

Accessibility & contrast

On white

10.04
#6F187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6F187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F187B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187B#FFFFFF#000000##FFFFFF
##6F187B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#702C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f187b;
/* rgb */ color: rgb(111, 24, 123);
/* oklch */ color: oklch(40.2% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#9c60a2',
    500: '#6f187b',
    950: '#000000',
  },
}
SCSS
$custom: #6f187b;
$custom-light: #9c60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187b",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 292.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.16685,
    "h": 322.5
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#6F187B
secondary
#4DB03F
accent
#EA3E52
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F187B

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

Preview Lab → · Contrast checker → · Palette generator →

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