#6F29B0#6F29B0

#6F29B0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 302.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F29B0
RGBrgb(111, 41, 176)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 77%, 69%)
CMYKcmyk(36.9%, 76.7%, 0%, 31%)
CIE-LABlab(34.19, 54.96, -58.86)
CIE-LCHlch(34.19, 80.53, 313.04°)
OKLaboklab(45.75% 0.1072 -0.1679)
OKLCHoklch(45.75% 0.199 302.6)
XYZxyz(15.1831, 8.0999, 41.8294)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29B0 #6AB029
analogous
#2B29B0 #6F29B0 #B029AE
triadic
#6F29B0 #B06F29 #29B06F
tetradic
#6F29B0 #B02B29 #6AB029 #29AEB0
square
#6F29B0 #B02B29 #6AB029 #29AEB0
split-complementary
#6F29B0 #AEB029 #29B02B
monochromatic
#30124D #501D7E #6F29B0 #8E43D3 #AC75DF

Accessibility & contrast

On white

8.02
#6F29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29B0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29B0#FFFFFF#000000##FFFFFF
##6F29B01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#614C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f29b0;
/* rgb */ color: rgb(111, 41, 176);
/* oklch */ color: oklch(45.8% 0.199 302.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ac9',
    500: '#6f29b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f29b0;
$custom-light: #9e6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29b0",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 271.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.1992,
    "h": 302.6
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#6F29B0
secondary
#99C66F
accent
#E54391
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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