#6B218A#6B218A

#6B218A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.169 H 313.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6B218A
RGBrgb(107, 33, 138)
HSLhsl(282, 61%, 34%)
HSVhsv(282, 76%, 54%)
CMYKcmyk(22.5%, 76.1%, 0%, 45.9%)
CIE-LABlab(29.54, 48.81, -43.33)
CIE-LCHlch(29.54, 65.27, 318.40°)
OKLaboklab(41.43% 0.1168 -0.1224)
OKLCHoklch(41.43% 0.169 313.7)
XYZxyz(11.1939, 6.0489, 24.6177)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B218A #408A21
analogous
#36218A #6B218A #8A2174
triadic
#6B218A #8A6B21 #218A6B
tetradic
#6B218A #8A3621 #408A21 #21748A
square
#6B218A #8A3621 #408A21 #21748A
split-complementary
#6B218A #748A21 #218A36
monochromatic
#1E0927 #451559 #6B218A #912DBB #AE50D5

Accessibility & contrast

On white

9.50
#6B218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B218A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B218A#FFFFFF#000000##FFFFFF
##6B218A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#184788
Tritanopia (blue-blind)
#683854
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b218a;
/* rgb */ color: rgb(107, 33, 138);
/* oklch */ color: oklch(41.4% 0.169 313.7);
Tailwind
colors: {
  custom: {
    50: '#9964ad',
    500: '#6b218a',
    950: '#000000',
  },
}
SCSS
$custom: #6b218a;
$custom-light: #9964ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b218a",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 282.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.16916,
    "h": 313.7
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#6B218A
secondary
#6EB94E
accent
#E54373
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B218A

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

Preview Lab → · Contrast checker → · Palette generator →

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