#6F299B#6F299B

#6F299B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 308.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6F299B
RGBrgb(111, 41, 155)
HSLhsl(277, 58%, 38%)
HSVhsv(277, 74%, 61%)
CMYKcmyk(28.4%, 73.5%, 0%, 39.2%)
CIE-LABlab(32.55, 50.07, -48.87)
CIE-LCHlch(32.55, 69.97, 315.69°)
OKLaboklab(44.08% 0.1115 -0.1386)
OKLCHoklch(44.08% 0.178 308.8)
XYZxyz(13.2637, 7.3322, 31.7205)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F299B #559B29
analogous
#36299B #6F299B #9B298E
triadic
#6F299B #9B6F29 #299B6F
tetradic
#6F299B #9B3629 #559B29 #298E9B
square
#6F299B #9B3629 #559B29 #298E9B
split-complementary
#6F299B #8E9B29 #299B36
monochromatic
#2A0F3A #4C1C6B #6F299B #9137CA #AC67D7

Accessibility & contrast

On white

8.51
#6F299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F299B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F299B#FFFFFF#000000##FFFFFF
##6F299B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#094D99
Tritanopia (blue-blind)
#68435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f299b;
/* rgb */ color: rgb(111, 41, 155);
/* oklch */ color: oklch(44.1% 0.178 308.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ab9',
    500: '#6f299b',
    950: '#000000',
  },
}
SCSS
$custom: #6f299b;
$custom-light: #9d6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f299b",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 276.842,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.17786,
    "h": 308.8
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#6F299B
secondary
#86BD63
accent
#E14682
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F299B

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

Preview Lab → · Contrast checker → · Palette generator →

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