#6F2995#6F2995

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

Color values

HEX#6F2995
RGBrgb(111, 41, 149)
HSLhsl(279, 57%, 37%)
HSVhsv(279, 72%, 58%)
CMYKcmyk(25.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(32.11, 48.72, -45.92)
CIE-LCHlch(32.11, 66.95, 316.69°)
OKLaboklab(43.64% 0.1124 -0.1299)
OKLCHoklch(43.64% 0.172 310.9)
XYZxyz(12.7723, 7.1356, 29.1324)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2995 #4F9529
analogous
#392995 #6F2995 #952985
triadic
#6F2995 #956F29 #29956F
tetradic
#6F2995 #953929 #4F9529 #298595
square
#6F2995 #953929 #4F9529 #298595
split-complementary
#6F2995 #859529 #299539
monochromatic
#270F35 #4B1C65 #6F2995 #9336C5 #AD64D4

Accessibility & contrast

On white

8.65
#6F2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2995
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2995#FFFFFF#000000##FFFFFF
##6F29951.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#6A415C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2995;
/* rgb */ color: rgb(111, 41, 149);
/* oklch */ color: oklch(43.6% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c69b5',
    500: '#6f2995',
    950: '#000000',
  },
}
SCSS
$custom: #6f2995;
$custom-light: #9c69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2995",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 278.889,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.17178,
    "h": 310.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#6F2995
secondary
#7FBA60
accent
#E0487D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2995

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

Preview Lab → · Contrast checker → · Palette generator →

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