#6B219F#6B219F

#6B219F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.190 H 306.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6B219F
RGBrgb(107, 33, 159)
HSLhsl(275, 66%, 38%)
HSVhsv(275, 79%, 62%)
CMYKcmyk(32.7%, 79.2%, 0%, 37.6%)
CIE-LABlab(31.15, 53.47, -53.60)
CIE-LCHlch(31.15, 75.71, 314.93°)
OKLaboklab(43.08% 0.1125 -0.1525)
OKLCHoklch(43.08% 0.19 306.4)
XYZxyz(12.8639, 6.7168, 33.4130)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219F #559F21
analogous
#2C219F #6B219F #9F2194
triadic
#6B219F #9F6B21 #219F6B
tetradic
#6B219F #9F2C21 #559F21 #21949F
square
#6B219F #9F2C21 #559F21 #21949F
split-complementary
#6B219F #949F21 #219F2C
monochromatic
#270C3A #49166C #6B219F #8D2CD2 #A85DDD

Accessibility & contrast

On white

8.96
#6B219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B219F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219F#FFFFFF#000000##FFFFFF
##6B219F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#624260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b219f;
/* rgb */ color: rgb(107, 33, 159);
/* oklch */ color: oklch(43.1% 0.190 306.4);
Tailwind
colors: {
  custom: {
    50: '#9b65bc',
    500: '#6b219f',
    950: '#000000',
  },
}
SCSS
$custom: #6b219f;
$custom-light: #9b65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219f",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 275.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.18955,
    "h": 306.4
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#6B219F
secondary
#85C25A
accent
#E93F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B219F

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

Preview Lab → · Contrast checker → · Palette generator →

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