#6F2896#6F2896

#6F2896 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.174 H 310.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6F2896
RGBrgb(111, 40, 150)
HSLhsl(279, 58%, 37%)
HSVhsv(279, 73%, 59%)
CMYKcmyk(26%, 73.3%, 0%, 41.2%)
CIE-LABlab(32.03, 49.37, -46.66)
CIE-LCHlch(32.03, 67.94, 316.62°)
OKLaboklab(43.6% 0.1133 -0.1321)
OKLCHoklch(43.6% 0.174 310.6)
XYZxyz(12.8183, 7.0994, 29.5433)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2896 #4F9628
analogous
#382896 #6F2896 #962886
triadic
#6F2896 #966F28 #28966F
tetradic
#6F2896 #963828 #4F9628 #288696
square
#6F2896 #963828 #4F9628 #288696
split-complementary
#6F2896 #869628 #289638
monochromatic
#270E35 #4B1B66 #6F2896 #9335C6 #AD63D5

Accessibility & contrast

On white

8.68
#6F2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6F2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2896
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2896#FFFFFF#000000##FFFFFF
##6F28961.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#144D94
Tritanopia (blue-blind)
#6A415C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2896;
/* rgb */ color: rgb(111, 40, 150);
/* oklch */ color: oklch(43.6% 0.174 310.6);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6f2896',
    950: '#000000',
  },
}
SCSS
$custom: #6f2896;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2896",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 278.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.436,
    "c": 0.17402,
    "h": 310.6
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#6F2896
secondary
#7FBB5F
accent
#E1477D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2896

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

Preview Lab → · Contrast checker → · Palette generator →

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