#6F2799#6F2799

#6F2799 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 309.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6F2799
RGBrgb(111, 39, 153)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 75%, 60%)
CMYKcmyk(27.5%, 74.5%, 0%, 40%)
CIE-LABlab(32.10, 50.47, -48.38)
CIE-LCHlch(32.10, 69.92, 316.21°)
OKLaboklab(43.72% 0.1139 -0.1371)
OKLCHoklch(43.72% 0.178 309.7)
XYZxyz(13.0297, 7.1307, 30.8208)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2799 #519927
analogous
#362799 #6F2799 #99278A
triadic
#6F2799 #996F27 #27996F
tetradic
#6F2799 #993627 #519927 #278A99
square
#6F2799 #993627 #519927 #278A99
split-complementary
#6F2799 #8A9927 #279936
monochromatic
#280E37 #4C1B68 #6F2799 #9233CA #AC63D7

Accessibility & contrast

On white

8.66
#6F2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2799
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2799#FFFFFF#000000##FFFFFF
##6F27991.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#69415E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2799;
/* rgb */ color: rgb(111, 39, 153);
/* oklch */ color: oklch(43.7% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#9d68b8',
    500: '#6f2799',
    950: '#000000',
  },
}
SCSS
$custom: #6f2799;
$custom-light: #9d68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2799",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 277.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.17823,
    "h": 309.7
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#6F2799
secondary
#82BD5F
accent
#E3457F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2799

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

Preview Lab → · Contrast checker → · Palette generator →

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