#6C29BD#6C29BD

#6C29BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.212 H 297.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6C29BD
RGBrgb(108, 41, 189)
HSLhsl(267, 64%, 45%)
HSVhsv(267, 78%, 74%)
CMYKcmyk(42.9%, 78.3%, 0%, 25.9%)
CIE-LABlab(34.90, 57.60, -65.42)
CIE-LCHlch(34.90, 87.16, 311.37°)
OKLaboklab(46.5% 0.0993 -0.1873)
OKLCHoklch(46.5% 0.212 297.9)
XYZxyz(16.1602, 8.4479, 48.9134)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29BD #7ABD29
analogous
#2930BD #6C29BD #B629BD
triadic
#6C29BD #BD6C29 #29BD6C
tetradic
#6C29BD #BD2930 #7ABD29 #29BDB6
square
#6C29BD #BD2930 #7ABD29 #29BDB6
split-complementary
#6C29BD #BDB629 #30BD29
monochromatic
#331358 #4F1E8B #6C29BD #8B4BD8 #AB7DE3

Accessibility & contrast

On white

7.81
#6C29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6C29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29BD#FFFFFF#000000##FFFFFF
##6C29BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#575273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c29bd;
/* rgb */ color: rgb(108, 41, 189);
/* oklch */ color: oklch(46.5% 0.212 297.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bd2',
    500: '#6c29bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c29bd;
$custom-light: #9e6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29bd",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 267.162,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.21199,
    "h": 297.9
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#6C29BD
secondary
#A5CB77
accent
#E7409C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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