#6B2188#6B2188

#6B2188 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 314.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6B2188
RGBrgb(107, 33, 136)
HSLhsl(283, 61%, 33%)
HSVhsv(283, 76%, 53%)
CMYKcmyk(21.3%, 75.7%, 0%, 46.7%)
CIE-LABlab(29.39, 48.38, -42.32)
CIE-LCHlch(29.39, 64.28, 318.82°)
OKLaboklab(41.28% 0.1171 -0.1194)
OKLCHoklch(41.28% 0.167 314.4)
XYZxyz(11.0504, 5.9915, 23.8621)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2188 #3E8821
analogous
#372188 #6B2188 #882171
triadic
#6B2188 #886B21 #21886B
tetradic
#6B2188 #883721 #3E8821 #217188
square
#6B2188 #883721 #3E8821 #217188
split-complementary
#6B2188 #718821 #218837
monochromatic
#1E0925 #441557 #6B2188 #922DB9 #AF4FD4

Accessibility & contrast

On white

9.55
#6B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2188
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2188#FFFFFF#000000##FFFFFF
##6B21881.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#683853
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2188;
/* rgb */ color: rgb(107, 33, 136);
/* oklch */ color: oklch(41.3% 0.167 314.4);
Tailwind
colors: {
  custom: {
    50: '#9964ab',
    500: '#6b2188',
    950: '#000000',
  },
}
SCSS
$custom: #6b2188;
$custom-light: #9964ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2188",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 283.107,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.16723,
    "h": 314.4
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#6B2188
secondary
#6BB84D
accent
#E44471
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2188

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

Preview Lab → · Contrast checker → · Palette generator →

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