#6F29B1#6F29B1

#6F29B1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.200 H 302.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6F29B1
RGBrgb(111, 41, 177)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 77%, 69%)
CMYKcmyk(37.3%, 76.8%, 0%, 30.6%)
CIE-LABlab(34.27, 55.20, -59.32)
CIE-LCHlch(34.27, 81.03, 312.94°)
OKLaboklab(45.84% 0.1069 -0.1693)
OKLCHoklch(45.84% 0.2 302.3)
XYZxyz(15.2824, 8.1397, 42.3524)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29B1 #6BB129
analogous
#2B29B1 #6F29B1 #B129AF
triadic
#6F29B1 #B16F29 #29B16F
tetradic
#6F29B1 #B12B29 #6BB129 #29AFB1
square
#6F29B1 #B12B29 #6BB129 #29AFB1
split-complementary
#6F29B1 #AFB129 #29B12B
monochromatic
#31124E #501D7F #6F29B1 #8E44D4 #AC75DF

Accessibility & contrast

On white

7.99
#6F29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29B1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29B1#FFFFFF#000000##FFFFFF
##6F29B11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#614C6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f29b1;
/* rgb */ color: rgb(111, 41, 177);
/* oklch */ color: oklch(45.8% 0.200 302.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bc9',
    500: '#6f29b1',
    950: '#000000',
  },
}
SCSS
$custom: #6f29b1;
$custom-light: #9e6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29b1",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 270.882,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.20021,
    "h": 302.3
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#6F29B1
secondary
#9AC76F
accent
#E54292
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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