#6F2198#6F2198

#6F2198 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.184 H 310.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6F2198
RGBrgb(111, 33, 152)
HSLhsl(279, 64%, 36%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.19, 52.63, -49.24)
CIE-LCHlch(31.19, 72.08, 316.91°)
OKLaboklab(43.06% 0.1197 -0.1396)
OKLCHoklch(43.06% 0.184 310.6)
XYZxyz(12.7658, 6.7345, 30.3271)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2198 #4A9821
analogous
#342198 #6F2198 #982186
triadic
#6F2198 #986F21 #21986F
tetradic
#6F2198 #983421 #4A9821 #218698
square
#6F2198 #983421 #4A9821 #218698
split-complementary
#6F2198 #869821 #219834
monochromatic
#260B33 #4A1666 #6F2198 #942CCA #AE59DB

Accessibility & contrast

On white

8.95
#6F2198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2198
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2198#FFFFFF#000000##FFFFFF
##6F21981.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#693E5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2198;
/* rgb */ color: rgb(111, 33, 152);
/* oklch */ color: oklch(43.1% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#9d66b7',
    500: '#6f2198',
    950: '#000000',
  },
}
SCSS
$custom: #6f2198;
$custom-light: #9d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2198",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 279.328,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.18389,
    "h": 310.6
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#6F2198
secondary
#7ABF56
accent
#E7407A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2198

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

Preview Lab → · Contrast checker → · Palette generator →

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