#6F218B#6F218B

#6F218B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.172 H 315.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#6F218B
RGBrgb(111, 33, 139)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 76%, 55%)
CMYKcmyk(20.1%, 76.3%, 0%, 45.5%)
CIE-LABlab(30.23, 49.85, -42.79)
CIE-LCHlch(30.23, 65.70, 319.36°)
OKLaboklab(42.07% 0.122 -0.1206)
OKLCHoklch(42.07% 0.172 315.3)
XYZxyz(11.7588, 6.3317, 25.0238)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F218B #3D8B21
analogous
#3A218B #6F218B #8B2172
triadic
#6F218B #8B6F21 #218B6F
tetradic
#6F218B #8B3A21 #3D8B21 #21728B
square
#6F218B #8B3A21 #3D8B21 #21728B
split-complementary
#6F218B #728B21 #218B3A
monochromatic
#200A28 #48155A #6F218B #962DBC #B351D6

Accessibility & contrast

On white

9.27
#6F218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F218B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F218B#FFFFFF#000000##FFFFFF
##6F218B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#6D3854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f218b;
/* rgb */ color: rgb(111, 33, 139);
/* oklch */ color: oklch(42.1% 0.172 315.3);
Tailwind
colors: {
  custom: {
    50: '#9c65ad',
    500: '#6f218b',
    950: '#000000',
  },
}
SCSS
$custom: #6f218b;
$custom-light: #9c65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f218b",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 284.151,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.17158,
    "h": 315.3
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#6F218B
secondary
#6BB94F
accent
#E5436E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F218B

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

Preview Lab → · Contrast checker → · Palette generator →

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