#6D188E#6D188E

#6D188E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.183 H 313.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6D188E
RGBrgb(109, 24, 142)
HSLhsl(283, 71%, 33%)
HSVhsv(283, 83%, 56%)
CMYKcmyk(23.2%, 83.1%, 0%, 44.3%)
CIE-LABlab(29.05, 53.22, -46.58)
CIE-LCHlch(29.05, 70.73, 318.81°)
OKLaboklab(41.25% 0.1266 -0.1318)
OKLCHoklch(41.25% 0.183 313.8)
XYZxyz(11.5149, 5.8579, 26.1101)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D188E #398E18
analogous
#32188E #6D188E #8E1874
triadic
#6D188E #8E6D18 #188E6D
tetradic
#6D188E #8E3218 #398E18 #18748E
square
#6D188E #8E3218 #398E18 #18748E
split-complementary
#6D188E #748E18 #188E32
monochromatic
#1D0625 #450F5A #6D188E #9521C2 #B341DF

Accessibility & contrast

On white

9.67
#6D188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D188E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D188E#FFFFFF#000000##FFFFFF
##6D188E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#6A3654
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d188e;
/* rgb */ color: rgb(109, 24, 142);
/* oklch */ color: oklch(41.2% 0.183 313.8);
Tailwind
colors: {
  custom: {
    50: '#9b61b0',
    500: '#6d188e',
    950: '#000000',
  },
}
SCSS
$custom: #6d188e;
$custom-light: #9b61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d188e",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 283.22,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.18273,
    "h": 313.8
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#6D188E
secondary
#65C042
accent
#EE3A6C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D188E

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

Preview Lab → · Contrast checker → · Palette generator →

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