#6F187A#6F187A

#6F187A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.166 H 322.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#6F187A
RGBrgb(111, 24, 122)
HSLhsl(293, 67%, 29%)
HSVhsv(293, 80%, 48%)
CMYKcmyk(9%, 80.3%, 0%, 52.2%)
CIE-LABlab(27.95, 49.67, -35.81)
CIE-LCHlch(27.95, 61.24, 324.21°)
OKLaboklab(40.08% 0.1324 -0.1001)
OKLCHoklch(40.08% 0.166 322.9)
XYZxyz(10.3947, 5.4385, 18.9108)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187A #237A18
analogous
#3E187A #6F187A #7A1854
triadic
#6F187A #7A6F18 #187A6F
tetradic
#6F187A #7A3E18 #237A18 #18547A
square
#6F187A #7A3E18 #237A18 #18547A
split-complementary
#6F187A #547A18 #187A3E
monochromatic
#17051A #400E47 #6F187A #9E22AD #C535D7

Accessibility & contrast

On white

10.06
#6F187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F187A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187A#FFFFFF#000000##FFFFFF
##6F187A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#712C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f187a;
/* rgb */ color: rgb(111, 24, 122);
/* oklch */ color: oklch(40.1% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#9c60a1',
    500: '#6f187a',
    950: '#000000',
  },
}
SCSS
$custom: #6f187a;
$custom-light: #9c60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187a",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 293.265,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40081,
    "c": 0.16599,
    "h": 322.9
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#6F187A
secondary
#4CAF3F
accent
#EA3E51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050F
muted
#7E7A7E

Preview Lab

Preview with #6F187A

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

Preview Lab → · Contrast checker → · Palette generator →

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