#6D188F#6D188F

#6D188F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 313.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6D188F
RGBrgb(109, 24, 143)
HSLhsl(283, 71%, 33%)
HSVhsv(283, 83%, 56%)
CMYKcmyk(23.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(29.13, 53.43, -47.07)
CIE-LCHlch(29.13, 71.21, 318.62°)
OKLaboklab(41.32% 0.1264 -0.1332)
OKLCHoklch(41.32% 0.184 313.5)
XYZxyz(11.5904, 5.8880, 26.5072)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D188F #3A8F18
analogous
#31188F #6D188F #8F1875
triadic
#6D188F #8F6D18 #188F6D
tetradic
#6D188F #8F3118 #3A8F18 #18758F
square
#6D188F #8F3118 #3A8F18 #18758F
split-complementary
#6D188F #758F18 #188F31
monochromatic
#1D0626 #450F5B #6D188F #9521C3 #B242DF

Accessibility & contrast

On white

9.64
#6D188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6D188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D188F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D188F#FFFFFF#000000##FFFFFF
##6D188F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#693655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d188f;
/* rgb */ color: rgb(109, 24, 143);
/* oklch */ color: oklch(41.3% 0.184 313.5);
Tailwind
colors: {
  custom: {
    50: '#9b61b1',
    500: '#6d188f',
    950: '#000000',
  },
}
SCSS
$custom: #6d188f;
$custom-light: #9b61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d188f",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 282.857,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.18362,
    "h": 313.5
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#6D188F
secondary
#67C043
accent
#EE3A6D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D188F

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

Preview Lab → · Contrast checker → · Palette generator →

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