#6F2188#6F2188

#6F2188 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.169 H 316.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6F2188
RGBrgb(111, 33, 136)
HSLhsl(285, 61%, 33%)
HSVhsv(285, 76%, 53%)
CMYKcmyk(18.4%, 75.7%, 0%, 46.7%)
CIE-LABlab(30.02, 49.23, -41.27)
CIE-LCHlch(30.02, 64.24, 320.03°)
OKLaboklab(41.86% 0.1224 -0.1162)
OKLCHoklch(41.86% 0.169 316.5)
XYZxyz(11.5427, 6.2453, 23.8852)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2188 #3A8821
analogous
#3B2188 #6F2188 #88216D
triadic
#6F2188 #886F21 #21886F
tetradic
#6F2188 #883B21 #3A8821 #216D88
square
#6F2188 #883B21 #3A8821 #216D88
split-complementary
#6F2188 #6D8821 #21883B
monochromatic
#1F0925 #471557 #6F2188 #972DB9 #B44FD4

Accessibility & contrast

On white

9.34
#6F2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2188
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2188#FFFFFF#000000##FFFFFF
##6F21881.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#6D3753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2188;
/* rgb */ color: rgb(111, 33, 136);
/* oklch */ color: oklch(41.9% 0.169 316.5);
Tailwind
colors: {
  custom: {
    50: '#9c65ab',
    500: '#6f2188',
    950: '#000000',
  },
}
SCSS
$custom: #6f2188;
$custom-light: #9c65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2188",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 285.437,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.16874,
    "h": 316.5
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#6F2188
secondary
#67B84D
accent
#E4446B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2188

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

Preview Lab → · Contrast checker → · Palette generator →

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