#6F299C#6F299C

#6F299C is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.179 H 308.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6F299C
RGBrgb(111, 41, 156)
HSLhsl(277, 58%, 39%)
HSVhsv(277, 74%, 61%)
CMYKcmyk(28.8%, 73.7%, 0%, 38.8%)
CIE-LABlab(32.63, 50.30, -49.36)
CIE-LCHlch(32.63, 70.47, 315.54°)
OKLaboklab(44.16% 0.1114 -0.14)
OKLCHoklch(44.16% 0.179 308.5)
XYZxyz(13.3480, 7.3659, 32.1646)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F299C #569C29
analogous
#35299C #6F299C #9C298F
triadic
#6F299C #9C6F29 #299C6F
tetradic
#6F299C #9C3529 #569C29 #298F9C
square
#6F299C #9C3529 #569C29 #298F9C
split-complementary
#6F299C #8F9C29 #299C35
monochromatic
#2A103B #4D1C6C #6F299C #9138CB #AC68D7

Accessibility & contrast

On white

8.49
#6F299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F299C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F299C#FFFFFF#000000##FFFFFF
##6F299C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#064E9A
Tritanopia (blue-blind)
#684460
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f299c;
/* rgb */ color: rgb(111, 41, 156);
/* oklch */ color: oklch(44.2% 0.179 308.5);
Tailwind
colors: {
  custom: {
    50: '#9d6aba',
    500: '#6f299c',
    950: '#000000',
  },
}
SCSS
$custom: #6f299c;
$custom-light: #9d6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f299c",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 276.522,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.17888,
    "h": 308.5
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#6F299C
secondary
#87BE63
accent
#E24683
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F299C

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

Preview Lab → · Contrast checker → · Palette generator →

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