#6B29A8#6B29A8

#6B29A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.190 H 302.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6B29A8
RGBrgb(107, 41, 168)
HSLhsl(271, 61%, 41%)
HSVhsv(271, 76%, 66%)
CMYKcmyk(36.3%, 75.6%, 0%, 34.1%)
CIE-LABlab(33.00, 52.35, -56.03)
CIE-LCHlch(33.00, 76.68, 313.06°)
OKLaboklab(44.6% 0.1033 -0.1597)
OKLCHoklch(44.6% 0.19 302.9)
XYZxyz(13.9226, 7.5388, 37.7598)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29A8 #66A829
analogous
#2B29A8 #6B29A8 #A829A5
triadic
#6B29A8 #A86B29 #29A86B
tetradic
#6B29A8 #A82B29 #66A829 #29A5A8
square
#6B29A8 #A82B29 #66A829 #29A5A8
split-complementary
#6B29A8 #A5A829 #29A82B
monochromatic
#2C1146 #4C1D77 #6B29A8 #8A3ED0 #A86FDC

Accessibility & contrast

On white

8.37
#6B29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29A8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29A8#FFFFFF#000000##FFFFFF
##6B29A81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#5E4967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b29a8;
/* rgb */ color: rgb(107, 41, 168);
/* oklch */ color: oklch(44.6% 0.190 302.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ac3',
    500: '#6b29a8',
    950: '#000000',
  },
}
SCSS
$custom: #6b29a8;
$custom-light: #9b6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29a8",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 271.181,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.19023,
    "h": 302.9
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#6B29A8
secondary
#95C36A
accent
#E44491
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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