#6F2997#6F2997

#6F2997 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 310.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6F2997
RGBrgb(111, 41, 151)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 73%, 59%)
CMYKcmyk(26.5%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.26, 49.17, -46.91)
CIE-LCHlch(32.26, 67.95, 316.34°)
OKLaboklab(43.78% 0.1121 -0.1328)
OKLCHoklch(43.78% 0.174 310.2)
XYZxyz(12.9333, 7.2000, 29.9806)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2997 #519729
analogous
#382997 #6F2997 #972988
triadic
#6F2997 #976F29 #29976F
tetradic
#6F2997 #973829 #519729 #298897
square
#6F2997 #973829 #519729 #298897
split-complementary
#6F2997 #889729 #299738
monochromatic
#280F37 #4C1C67 #6F2997 #9236C7 #AC65D5

Accessibility & contrast

On white

8.61
#6F2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2997
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2997#FFFFFF#000000##FFFFFF
##6F29971.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#69425D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2997;
/* rgb */ color: rgb(111, 41, 151);
/* oklch */ color: oklch(43.8% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6f2997',
    950: '#000000',
  },
}
SCSS
$custom: #6f2997;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2997",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 278.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.17381,
    "h": 310.2
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#6F2997
secondary
#82BB61
accent
#E1477F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2997

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

Preview Lab → · Contrast checker → · Palette generator →

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