#6B219D#6B219D

#6B219D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.188 H 307.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6B219D
RGBrgb(107, 33, 157)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(31.8%, 79%, 0%, 38.4%)
CIE-LABlab(30.99, 53.01, -52.65)
CIE-LCHlch(30.99, 74.71, 315.20°)
OKLaboklab(42.91% 0.113 -0.1497)
OKLCHoklch(42.91% 0.188 307)
XYZxyz(12.6917, 6.6480, 32.5063)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B219D #539D21
analogous
#2D219D #6B219D #9D2191
triadic
#6B219D #9D6B21 #219D6B
tetradic
#6B219D #9D2D21 #539D21 #21919D
square
#6B219D #9D2D21 #539D21 #21919D
split-complementary
#6B219D #919D21 #219D2D
monochromatic
#260C38 #49166A #6B219D #8D2CD0 #A95CDD

Accessibility & contrast

On white

9.01
#6B219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B219D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B219D#FFFFFF#000000##FFFFFF
##6B219D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#62415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b219d;
/* rgb */ color: rgb(107, 33, 157);
/* oklch */ color: oklch(42.9% 0.188 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a65bb',
    500: '#6b219d',
    950: '#000000',
  },
}
SCSS
$custom: #6b219d;
$custom-light: #9a65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b219d",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 275.806,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.1876,
    "h": 307
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#6B219D
secondary
#83C159
accent
#E84084
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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