#6F219B#6F219B

#6F219B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.187 H 309.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6F219B
RGBrgb(111, 33, 155)
HSLhsl(278, 65%, 37%)
HSVhsv(278, 79%, 61%)
CMYKcmyk(28.4%, 78.7%, 0%, 39.2%)
CIE-LABlab(31.43, 53.29, -50.70)
CIE-LCHlch(31.43, 73.55, 316.43°)
OKLaboklab(43.29% 0.1191 -0.1439)
OKLCHoklch(43.29% 0.187 309.6)
XYZxyz(13.0146, 6.8340, 31.6375)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F219B #4D9B21
analogous
#32219B #6F219B #9B218A
triadic
#6F219B #9B6F21 #219B6F
tetradic
#6F219B #9B3221 #4D9B21 #218A9B
square
#6F219B #9B3221 #4D9B21 #218A9B
split-complementary
#6F219B #8A9B21 #219B32
monochromatic
#270C36 #4B1669 #6F219B #932CCD #AD5ADC

Accessibility & contrast

On white

8.87
#6F219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F219B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F219B#FFFFFF#000000##FFFFFF
##6F219B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#683F5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f219b;
/* rgb */ color: rgb(111, 33, 155);
/* oklch */ color: oklch(43.3% 0.187 309.6);
Tailwind
colors: {
  custom: {
    50: '#9d66b9',
    500: '#6f219b',
    950: '#000000',
  },
}
SCSS
$custom: #6f219b;
$custom-light: #9d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f219b",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 278.361,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.18676,
    "h": 309.6
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#6F219B
secondary
#7DC058
accent
#E8407C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F219B

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

Preview Lab → · Contrast checker → · Palette generator →

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