#6D2188#6D2188

#6D2188 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 315.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6D2188
RGBrgb(109, 33, 136)
HSLhsl(284, 61%, 33%)
HSVhsv(284, 76%, 53%)
CMYKcmyk(19.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(29.71, 48.81, -41.80)
CIE-LCHlch(29.71, 64.26, 319.42°)
OKLaboklab(41.57% 0.1198 -0.1178)
OKLCHoklch(41.57% 0.168 315.5)
XYZxyz(11.2938, 6.1169, 23.8736)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2188 #3C8821
analogous
#392188 #6D2188 #88216F
triadic
#6D2188 #886D21 #21886D
tetradic
#6D2188 #883921 #3C8821 #216F88
square
#6D2188 #883921 #3C8821 #216F88
split-complementary
#6D2188 #6F8821 #218839
monochromatic
#1E0925 #461557 #6D2188 #942DB9 #B14FD4

Accessibility & contrast

On white

9.45
#6D2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2188
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2188#FFFFFF#000000##FFFFFF
##6D21881.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#6B3753
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2188;
/* rgb */ color: rgb(109, 33, 136);
/* oklch */ color: oklch(41.6% 0.168 315.5);
Tailwind
colors: {
  custom: {
    50: '#9a65ab',
    500: '#6d2188',
    950: '#000000',
  },
}
SCSS
$custom: #6d2188;
$custom-light: #9a65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2188",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 284.272,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.16798,
    "h": 315.5
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#6D2188
secondary
#69B84D
accent
#E4446E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2188

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

Preview Lab → · Contrast checker → · Palette generator →

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