#6F2899#6F2899

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

Color values

HEX#6F2899
RGBrgb(111, 40, 153)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 74%, 60%)
CMYKcmyk(27.5%, 73.9%, 0%, 40%)
CIE-LABlab(32.25, 50.05, -48.14)
CIE-LCHlch(32.25, 69.44, 316.11°)
OKLaboklab(43.83% 0.1129 -0.1364)
OKLCHoklch(43.83% 0.177 309.6)
XYZxyz(13.0630, 7.1973, 30.8319)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2899 #529928
analogous
#362899 #6F2899 #99288A
triadic
#6F2899 #996F28 #28996F
tetradic
#6F2899 #993628 #529928 #288A99
square
#6F2899 #993628 #529928 #288A99
split-complementary
#6F2899 #8A9928 #289936
monochromatic
#290F38 #4C1B68 #6F2899 #9235CA #AC65D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2899#FFFFFF#000000##FFFFFF
##6F28991.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)
#00499C
Deuteranopia (green-blind)
#0D4D97
Tritanopia (blue-blind)
#69425E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2899;
/* rgb */ color: rgb(111, 40, 153);
/* oklch */ color: oklch(43.8% 0.177 309.6);
Tailwind
colors: {
  custom: {
    50: '#9d69b8',
    500: '#6f2899',
    950: '#000000',
  },
}
SCSS
$custom: #6f2899;
$custom-light: #9d69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2899",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 277.699,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.17704,
    "h": 309.6
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#6F2899
secondary
#83BD60
accent
#E24680
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2899

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

Preview Lab → · Contrast checker → · Palette generator →

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