#6B216F#6B216F

#6B216F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.144 H 325.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6B216F
RGBrgb(107, 33, 111)
HSLhsl(297, 54%, 28%)
HSVhsv(297, 70%, 44%)
CMYKcmyk(3.6%, 70.3%, 0%, 56.5%)
CIE-LABlab(27.74, 43.31, -29.17)
CIE-LCHlch(27.74, 52.22, 326.03°)
OKLaboklab(39.57% 0.1187 -0.081)
OKLCHoklch(39.57% 0.144 325.7)
XYZxyz(9.4763, 5.3618, 15.5716)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B216F #256F21
analogous
#44216F #6B216F #6F214C
triadic
#6B216F #6F6B21 #216F6B
tetradic
#6B216F #6F4421 #256F21 #214C6F
square
#6B216F #6F4421 #256F21 #214C6F
split-complementary
#6B216F #4C6F21 #216F44
monochromatic
#170718 #3E1340 #6B216F #982F9E #C043C7

Accessibility & contrast

On white

10.13
#6B216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6B216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B216F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B216F#FFFFFF#000000##FFFFFF
##6B216F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#6E2D45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b216f;
/* rgb */ color: rgb(107, 33, 111);
/* oklch */ color: oklch(39.6% 0.144 325.7);
Tailwind
colors: {
  custom: {
    50: '#986399',
    500: '#6b216f',
    950: '#000000',
  },
}
SCSS
$custom: #6b216f;
$custom-light: #986399;
$custom-dark: #000000;
JSON
{
  "hex": "#6b216f",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 296.923,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.14371,
    "h": 325.7
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#6B216F
secondary
#4EA349
accent
#DE4A52
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B216F

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

Preview Lab → · Contrast checker → · Palette generator →

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