#6B219E#6B219E

#6B219E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.189 H 306.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6B219E
RGBrgb(107, 33, 158)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(32.3%, 79.1%, 0%, 38%)
CIE-LABlab(31.07, 53.24, -53.13)
CIE-LCHlch(31.07, 75.21, 315.06°)
OKLaboklab(42.99% 0.1128 -0.1511)
OKLCHoklch(42.99% 0.189 306.7)
XYZxyz(12.7775, 6.6823, 32.9578)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219E #549E21
analogous
#2D219E #6B219E #9E2193
triadic
#6B219E #9E6B21 #219E6B
tetradic
#6B219E #9E2D21 #549E21 #21939E
square
#6B219E #9E2D21 #549E21 #21939E
split-complementary
#6B219E #939E21 #219E2D
monochromatic
#260C39 #49166B #6B219E #8D2CD1 #A95CDD

Accessibility & contrast

On white

8.99
#6B219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B219E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219E#FFFFFF#000000##FFFFFF
##6B219E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#62415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b219e;
/* rgb */ color: rgb(107, 33, 158);
/* oklch */ color: oklch(43.0% 0.189 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b65bc',
    500: '#6b219e',
    950: '#000000',
  },
}
SCSS
$custom: #6b219e;
$custom-light: #9b65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219e",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 275.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.18858,
    "h": 306.7
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#6B219E
secondary
#84C159
accent
#E83F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B219E

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

Preview Lab → · Contrast checker → · Palette generator →

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