#6F2186#6F2186

#6F2186 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.167 H 317.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6F2186
RGBrgb(111, 33, 134)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.2%, 75.4%, 0%, 47.5%)
CIE-LABlab(29.88, 48.82, -40.25)
CIE-LCHlch(29.88, 63.27, 320.50°)
OKLaboklab(41.71% 0.1226 -0.1132)
OKLCHoklch(41.71% 0.167 317.3)
XYZxyz(11.4018, 6.1889, 23.1436)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2186 #388621
analogous
#3D2186 #6F2186 #86216A
triadic
#6F2186 #866F21 #21866F
tetradic
#6F2186 #863D21 #388621 #216A86
square
#6F2186 #863D21 #388621 #216A86
split-complementary
#6F2186 #6A8621 #21863D
monochromatic
#1E0924 #461555 #6F2186 #982DB7 #B54ED3

Accessibility & contrast

On white

9.39
#6F2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2186
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2186#FFFFFF#000000##FFFFFF
##6F21861.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#6E3652
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2186;
/* rgb */ color: rgb(111, 33, 134);
/* oklch */ color: oklch(41.7% 0.167 317.3);
Tailwind
colors: {
  custom: {
    50: '#9c65aa',
    500: '#6f2186',
    950: '#000000',
  },
}
SCSS
$custom: #6f2186;
$custom-light: #9c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2186",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 286.337,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.16687,
    "h": 317.3
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#6F2186
secondary
#64B74C
accent
#E44468
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2186

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

Preview Lab → · Contrast checker → · Palette generator →

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