#6F2696#6F2696

#6F2696 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.176 H 310.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6F2696
RGBrgb(111, 38, 150)
HSLhsl(279, 60%, 37%)
HSVhsv(279, 75%, 59%)
CMYKcmyk(26%, 74.7%, 0%, 41.2%)
CIE-LABlab(31.73, 50.22, -47.15)
CIE-LCHlch(31.73, 68.88, 316.81°)
OKLaboklab(43.39% 0.1154 -0.1335)
OKLCHoklch(43.39% 0.176 310.8)
XYZxyz(12.7526, 6.9680, 29.5214)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2696 #4D9626
analogous
#372696 #6F2696 #962685
triadic
#6F2696 #966F26 #26966F
tetradic
#6F2696 #963726 #4D9626 #268596
square
#6F2696 #963726 #4D9626 #268596
split-complementary
#6F2696 #859626 #269637
monochromatic
#270D34 #4B1A65 #6F2696 #9332C7 #AD60D7

Accessibility & contrast

On white

8.77
#6F2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2696
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2696#FFFFFF#000000##FFFFFF
##6F26961.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#6A405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2696;
/* rgb */ color: rgb(111, 38, 150);
/* oklch */ color: oklch(43.4% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#9c68b6',
    500: '#6f2696',
    950: '#000000',
  },
}
SCSS
$custom: #6f2696;
$custom-light: #9c68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2696",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 279.107,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.17641,
    "h": 310.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#6F2696
secondary
#7DBC5C
accent
#E3457C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2696

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

Preview Lab → · Contrast checker → · Palette generator →

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