#6B219A#6B219A

#6B219A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.185 H 308.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6B219A
RGBrgb(107, 33, 154)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 60%)
CMYKcmyk(30.5%, 78.6%, 0%, 39.6%)
CIE-LABlab(30.75, 52.34, -51.21)
CIE-LCHlch(30.75, 73.22, 315.62°)
OKLaboklab(42.67% 0.1137 -0.1455)
OKLCHoklch(42.67% 0.185 308)
XYZxyz(12.4388, 6.5468, 31.1740)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219A #509A21
analogous
#2E219A #6B219A #9A218D
triadic
#6B219A #9A6B21 #219A6B
tetradic
#6B219A #9A2E21 #509A21 #218D9A
square
#6B219A #9A2E21 #509A21 #218D9A
split-complementary
#6B219A #8D9A21 #219A2E
monochromatic
#250B35 #481668 #6B219A #8E2CCC #A95ADC

Accessibility & contrast

On white

9.09
#6B219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B219A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219A#FFFFFF#000000##FFFFFF
##6B219A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#633F5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b219a;
/* rgb */ color: rgb(107, 33, 154);
/* oklch */ color: oklch(42.7% 0.185 308.0);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6b219a',
    950: '#000000',
  },
}
SCSS
$custom: #6b219a;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219a",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 276.694,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.18468,
    "h": 308
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#6B219A
secondary
#80C057
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B219A

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

Preview Lab → · Contrast checker → · Palette generator →

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