#6B218F#6B218F

#6B218F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 311.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6B218F
RGBrgb(107, 33, 143)
HSLhsl(280, 63%, 35%)
HSVhsv(280, 77%, 56%)
CMYKcmyk(25.2%, 76.9%, 0%, 43.9%)
CIE-LABlab(29.90, 49.90, -45.83)
CIE-LCHlch(29.90, 67.75, 317.43°)
OKLaboklab(41.81% 0.116 -0.1297)
OKLCHoklch(41.81% 0.174 311.8)
XYZxyz(11.5643, 6.1970, 26.5682)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B218F #458F21
analogous
#34218F #6B218F #8F217C
triadic
#6B218F #8F6B21 #218F6B
tetradic
#6B218F #8F3421 #458F21 #217C8F
square
#6B218F #8F3421 #458F21 #217C8F
split-complementary
#6B218F #7C8F21 #218F34
monochromatic
#210A2C #46165D #6B218F #902CC1 #AC53D7

Accessibility & contrast

On white

9.38
#6B218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B218F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B218F#FFFFFF#000000##FFFFFF
##6B218F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#673B57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b218f;
/* rgb */ color: rgb(107, 33, 143);
/* oklch */ color: oklch(41.8% 0.174 311.8);
Tailwind
colors: {
  custom: {
    50: '#9965b0',
    500: '#6b218f',
    950: '#000000',
  },
}
SCSS
$custom: #6b218f;
$custom-light: #9965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b218f",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 280.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.17399,
    "h": 311.8
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#6B218F
secondary
#74BB51
accent
#E64278
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B218F

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

Preview Lab → · Contrast checker → · Palette generator →

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