#6F2994#6F2994

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

Color values

HEX#6F2994
RGBrgb(111, 41, 148)
HSLhsl(279, 57%, 37%)
HSVhsv(279, 72%, 58%)
CMYKcmyk(25%, 72.3%, 0%, 42%)
CIE-LABlab(32.04, 48.49, -45.42)
CIE-LCHlch(32.04, 66.44, 316.87°)
OKLaboklab(43.56% 0.1126 -0.1284)
OKLCHoklch(43.56% 0.171 311.2)
XYZxyz(12.6928, 7.1038, 28.7138)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2994 #4E9429
analogous
#392994 #6F2994 #942984
triadic
#6F2994 #946F29 #29946F
tetradic
#6F2994 #943929 #4E9429 #298494
square
#6F2994 #943929 #4E9429 #298494
split-complementary
#6F2994 #849429 #299439
monochromatic
#270E34 #4B1C64 #6F2994 #9336C4 #AD63D4

Accessibility & contrast

On white

8.67
#6F2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2994
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2994#FFFFFF#000000##FFFFFF
##6F29941.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#194D92
Tritanopia (blue-blind)
#6A405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2994;
/* rgb */ color: rgb(111, 41, 148);
/* oklch */ color: oklch(43.6% 0.171 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c69b4',
    500: '#6f2994',
    950: '#000000',
  },
}
SCSS
$custom: #6f2994;
$custom-light: #9c69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2994",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 279.252,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.17077,
    "h": 311.2
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#6F2994
secondary
#7EBA5F
accent
#E0487C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2994

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

Preview Lab → · Contrast checker → · Palette generator →

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