#6D187E#6D187E

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

Color values

HEX#6D187E
RGBrgb(109, 24, 126)
HSLhsl(290, 68%, 29%)
HSVhsv(290, 81%, 49%)
CMYKcmyk(13.5%, 81%, 0%, 50.6%)
CIE-LABlab(27.88, 50.02, -38.48)
CIE-LCHlch(27.88, 63.11, 322.43°)
OKLaboklab(40.05% 0.1295 -0.108)
OKLCHoklch(40.05% 0.169 320.2)
XYZxyz(10.3987, 5.4114, 20.2314)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187E #297E18
analogous
#3A187E #6D187E #7E185C
triadic
#6D187E #7E6D18 #187E6D
tetradic
#6D187E #7E3A18 #297E18 #185C7E
square
#6D187E #7E3A18 #297E18 #185C7E
split-complementary
#6D187E #5C7E18 #187E3A
monochromatic
#16051A #410E4B #6D187E #9922B1 #BE37D9

Accessibility & contrast

On white

10.09
#6D187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D187E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D187E#FFFFFF#000000##FFFFFF
##6D187E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#6D2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d187e;
/* rgb */ color: rgb(109, 24, 126);
/* oklch */ color: oklch(40.0% 0.169 320.2);
Tailwind
colors: {
  custom: {
    50: '#9a60a4',
    500: '#6d187e',
    950: '#000000',
  },
}
SCSS
$custom: #6d187e;
$custom-light: #9a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187e",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 290,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.16859,
    "h": 320.2
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#6D187E
secondary
#53B23F
accent
#EB3D5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D187E

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

Preview Lab → · Contrast checker → · Palette generator →

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