#6F187F#6F187F

#6F187F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 320.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6F187F
RGBrgb(111, 24, 127)
HSLhsl(291, 68%, 30%)
HSVhsv(291, 81%, 50%)
CMYKcmyk(12.6%, 81.1%, 0%, 50.2%)
CIE-LABlab(28.29, 50.62, -38.43)
CIE-LCHlch(28.29, 63.55, 322.80°)
OKLaboklab(40.43% 0.1318 -0.1078)
OKLCHoklch(40.43% 0.17 320.7)
XYZxyz(10.7125, 5.5657, 20.5846)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187F #287F18
analogous
#3C187F #6F187F #7F185B
triadic
#6F187F #7F6F18 #187F6F
tetradic
#6F187F #7F3C18 #287F18 #185B7F
square
#6F187F #7F3C18 #287F18 #185B7F
split-complementary
#6F187F #5B7F18 #187F3C
monochromatic
#16051A #420E4C #6F187F #9C22B2 #C038D9

Accessibility & contrast

On white

9.94
#6F187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F187F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187F#FFFFFF#000000##FFFFFF
##6F187F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#702E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f187f;
/* rgb */ color: rgb(111, 24, 127);
/* oklch */ color: oklch(40.4% 0.170 320.7);
Tailwind
colors: {
  custom: {
    50: '#9c61a5',
    500: '#6f187f',
    950: '#000000',
  },
}
SCSS
$custom: #6f187f;
$custom-light: #9c61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187f",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 290.68,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.17028,
    "h": 320.7
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#6F187F
secondary
#51B33F
accent
#EB3D58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F187F

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

Preview Lab → · Contrast checker → · Palette generator →

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