#6F2199#6F2199

#6F2199 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.185 H 310.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6F2199
RGBrgb(111, 33, 153)
HSLhsl(279, 65%, 36%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27.5%, 78.4%, 0%, 40%)
CIE-LABlab(31.27, 52.85, -49.73)
CIE-LCHlch(31.27, 72.57, 316.74°)
OKLaboklab(43.13% 0.1195 -0.141)
OKLCHoklch(43.13% 0.185 310.3)
XYZxyz(12.8480, 6.7674, 30.7602)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2199 #4B9921
analogous
#332199 #6F2199 #992187
triadic
#6F2199 #996F21 #21996F
tetradic
#6F2199 #993321 #4B9921 #218799
square
#6F2199 #993321 #4B9921 #218799
split-complementary
#6F2199 #879921 #219933
monochromatic
#260B34 #4A1667 #6F2199 #942CCB #AE59DB

Accessibility & contrast

On white

8.92
#6F2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2199
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2199#FFFFFF#000000##FFFFFF
##6F21991.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#693E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2199;
/* rgb */ color: rgb(111, 33, 153);
/* oklch */ color: oklch(43.1% 0.185 310.3);
Tailwind
colors: {
  custom: {
    50: '#9d66b8',
    500: '#6f2199',
    950: '#000000',
  },
}
SCSS
$custom: #6f2199;
$custom-light: #9d66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2199",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 279,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.18485,
    "h": 310.3
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#6F2199
secondary
#7BBF56
accent
#E8407B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2199

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

Preview Lab → · Contrast checker → · Palette generator →

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