#6D187F#6D187F

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

Color values

HEX#6D187F
RGBrgb(109, 24, 127)
HSLhsl(290, 68%, 30%)
HSVhsv(290, 81%, 50%)
CMYKcmyk(14.2%, 81.1%, 0%, 50.2%)
CIE-LABlab(27.95, 50.21, -39.00)
CIE-LCHlch(27.95, 63.58, 322.17°)
OKLaboklab(40.12% 0.1293 -0.1095)
OKLCHoklch(40.12% 0.169 319.7)
XYZxyz(10.4636, 5.4373, 20.5729)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187F #2A7F18
analogous
#3A187F #6D187F #7F185D
triadic
#6D187F #7F6D18 #187F6D
tetradic
#6D187F #7F3A18 #2A7F18 #185D7F
square
#6D187F #7F3A18 #2A7F18 #185D7F
split-complementary
#6D187F #5D7F18 #187F3A
monochromatic
#16051A #410E4C #6D187F #9922B2 #BD38D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D187F#FFFFFF#000000##FFFFFF
##6D187F1.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)
#003C82
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#6D2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d187f;
/* rgb */ color: rgb(109, 24, 127);
/* oklch */ color: oklch(40.1% 0.169 319.7);
Tailwind
colors: {
  custom: {
    50: '#9a60a5',
    500: '#6d187f',
    950: '#000000',
  },
}
SCSS
$custom: #6d187f;
$custom-light: #9a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187f",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 289.515,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.16947,
    "h": 319.7
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#6D187F
secondary
#54B33F
accent
#EB3D5B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D187F

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

Preview Lab → · Contrast checker → · Palette generator →

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