#6B219C#6B219C

#6B219C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 307.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6B219C
RGBrgb(107, 33, 156)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(31.4%, 78.8%, 0%, 38.8%)
CIE-LABlab(30.91, 52.79, -52.17)
CIE-LCHlch(30.91, 74.22, 315.34°)
OKLaboklab(42.83% 0.1132 -0.1483)
OKLCHoklch(42.83% 0.187 307.4)
XYZxyz(12.6067, 6.6140, 32.0585)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219C #529C21
analogous
#2E219C #6B219C #9C218F
triadic
#6B219C #9C6B21 #219C6B
tetradic
#6B219C #9C2E21 #529C21 #218F9C
square
#6B219C #9C2E21 #529C21 #218F9C
split-complementary
#6B219C #8F9C21 #219C2E
monochromatic
#260C37 #481669 #6B219C #8E2CCF #A95BDC

Accessibility & contrast

On white

9.04
#6B219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B219C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219C#FFFFFF#000000##FFFFFF
##6B219C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b219c;
/* rgb */ color: rgb(107, 33, 156);
/* oklch */ color: oklch(42.8% 0.187 307.4);
Tailwind
colors: {
  custom: {
    50: '#9a65ba',
    500: '#6b219c',
    950: '#000000',
  },
}
SCSS
$custom: #6b219c;
$custom-light: #9a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219c",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 276.098,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.18662,
    "h": 307.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#6B219C
secondary
#82C158
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B219C

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

Preview Lab → · Contrast checker → · Palette generator →

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