#6F187C#6F187C

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

Color values

HEX#6F187C
RGBrgb(111, 24, 124)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 49%)
CMYKcmyk(10.5%, 80.6%, 0%, 51.4%)
CIE-LABlab(28.08, 50.05, -36.86)
CIE-LCHlch(28.08, 62.16, 323.63°)
OKLaboklab(40.22% 0.1322 -0.1032)
OKLCHoklch(40.22% 0.168 322)
XYZxyz(10.5199, 5.4886, 19.5702)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187C #257C18
analogous
#3D187C #6F187C #7C1857
triadic
#6F187C #7C6F18 #187C6F
tetradic
#6F187C #7C3D18 #257C18 #18577C
square
#6F187C #7C3D18 #257C18 #18577C
split-complementary
#6F187C #577C18 #187C3D
monochromatic
#17051A #410E49 #6F187C #9D22AF #C336D8

Accessibility & contrast

On white

10.01
#6F187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6F187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F187C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187C#FFFFFF#000000##FFFFFF
##6F187C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#702D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f187c;
/* rgb */ color: rgb(111, 24, 124);
/* oklch */ color: oklch(40.2% 0.168 322.0);
Tailwind
colors: {
  custom: {
    50: '#9c61a2',
    500: '#6f187c',
    950: '#000000',
  },
}
SCSS
$custom: #6f187c;
$custom-light: #9c61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187c",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 292.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.1677,
    "h": 322
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#6F187C
secondary
#4EB13F
accent
#EA3D54
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F187C

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

Preview Lab → · Contrast checker → · Palette generator →

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