#6B219B#6B219B

#6B219B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 307.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6B219B
RGBrgb(107, 33, 155)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(31%, 78.7%, 0%, 39.2%)
CIE-LABlab(30.83, 52.56, -51.69)
CIE-LCHlch(30.83, 73.72, 315.48°)
OKLaboklab(42.75% 0.1135 -0.1469)
OKLCHoklch(42.75% 0.186 307.7)
XYZxyz(12.5224, 6.5803, 31.6144)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219B #519B21
analogous
#2E219B #6B219B #9B218E
triadic
#6B219B #9B6B21 #219B6B
tetradic
#6B219B #9B2E21 #519B21 #218E9B
square
#6B219B #9B2E21 #519B21 #218E9B
split-complementary
#6B219B #8E9B21 #219B2E
monochromatic
#250C36 #481669 #6B219B #8E2CCD #A95ADC

Accessibility & contrast

On white

9.07
#6B219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B219B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219B#FFFFFF#000000##FFFFFF
##6B219B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#63405E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b219b;
/* rgb */ color: rgb(107, 33, 155);
/* oklch */ color: oklch(42.7% 0.186 307.7);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6b219b',
    950: '#000000',
  },
}
SCSS
$custom: #6b219b;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219b",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 276.393,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.18565,
    "h": 307.7
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#6B219B
secondary
#81C058
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B219B

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

Preview Lab → · Contrast checker → · Palette generator →

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