#6B29A6#6B29A6

#6B29A6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.188 H 303.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6B29A6
RGBrgb(107, 41, 166)
HSLhsl(272, 60%, 41%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(35.5%, 75.3%, 0%, 34.9%)
CIE-LABlab(32.84, 51.87, -55.08)
CIE-LCHlch(32.84, 75.66, 313.28°)
OKLaboklab(44.44% 0.1038 -0.157)
OKLCHoklch(44.44% 0.188 303.5)
XYZxyz(13.7377, 7.4649, 36.7861)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29A6 #64A629
analogous
#2D29A6 #6B29A6 #A629A2
triadic
#6B29A6 #A66B29 #29A66B
tetradic
#6B29A6 #A62D29 #64A629 #29A2A6
square
#6B29A6 #A62D29 #64A629 #29A2A6
split-complementary
#6B29A6 #A2A629 #29A62D
monochromatic
#2C1144 #4B1D75 #6B29A6 #8A3DCF #A86EDB

Accessibility & contrast

On white

8.42
#6B29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6B29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29A6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29A6#FFFFFF#000000##FFFFFF
##6B29A61.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5F4866
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b29a6;
/* rgb */ color: rgb(107, 41, 166);
/* oklch */ color: oklch(44.4% 0.188 303.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6b29a6',
    950: '#000000',
  },
}
SCSS
$custom: #6b29a6;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29a6",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 271.68,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.18816,
    "h": 303.5
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#6B29A6
secondary
#93C269
accent
#E4448F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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