#6B29A5#6B29A5

#6B29A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.187 H 303.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6B29A5
RGBrgb(107, 41, 165)
HSLhsl(272, 60%, 40%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(35.2%, 75.2%, 0%, 35.3%)
CIE-LABlab(32.76, 51.63, -54.61)
CIE-LCHlch(32.76, 75.16, 313.39°)
OKLaboklab(44.36% 0.104 -0.1556)
OKLCHoklch(44.36% 0.187 303.8)
XYZxyz(13.6463, 7.4283, 36.3049)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29A5 #63A529
analogous
#2D29A5 #6B29A5 #A529A1
triadic
#6B29A5 #A56B29 #29A56B
tetradic
#6B29A5 #A52D29 #63A529 #29A1A5
square
#6B29A5 #A52D29 #63A529 #29A1A5
split-complementary
#6B29A5 #A1A529 #29A52D
monochromatic
#2B1143 #4B1D74 #6B29A5 #8A3DCF #A86EDB

Accessibility & contrast

On white

8.45
#6B29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B29A5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29A5#FFFFFF#000000##FFFFFF
##6B29A51.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#5F4865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b29a5;
/* rgb */ color: rgb(107, 41, 165);
/* oklch */ color: oklch(44.4% 0.187 303.8);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6b29a5',
    950: '#000000',
  },
}
SCSS
$custom: #6b29a5;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29a5",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 271.935,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.18711,
    "h": 303.8
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#6B29A5
secondary
#92C268
accent
#E3448F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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