#6B29A2#6B29A2

#6B29A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.184 H 304.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6B29A2
RGBrgb(107, 41, 162)
HSLhsl(273, 60%, 40%)
HSVhsv(273, 75%, 64%)
CMYKcmyk(34%, 74.7%, 0%, 36.5%)
CIE-LABlab(32.53, 50.92, -53.19)
CIE-LCHlch(32.53, 73.63, 313.75°)
OKLaboklab(44.12% 0.1046 -0.1514)
OKLCHoklch(44.12% 0.184 304.6)
XYZxyz(13.3764, 7.3204, 34.8837)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29A2 #60A229
analogous
#2E29A2 #6B29A2 #A2299D
triadic
#6B29A2 #A26B29 #29A26B
tetradic
#6B29A2 #A22E29 #60A229 #299DA2
square
#6B29A2 #A22E29 #60A229 #299DA2
split-complementary
#6B29A2 #9DA229 #29A22E
monochromatic
#2A1040 #4B1D71 #6B29A2 #8B3BCD #A86CDA

Accessibility & contrast

On white

8.52
#6B29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29A2#FFFFFF#000000##FFFFFF
##6B29A21.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#614763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b29a2;
/* rgb */ color: rgb(107, 41, 162);
/* oklch */ color: oklch(44.1% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#9a69be',
    500: '#6b29a2',
    950: '#000000',
  },
}
SCSS
$custom: #6b29a2;
$custom-light: #9a69be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29a2",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 272.727,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.18401,
    "h": 304.6
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#6B29A2
secondary
#8FC067
accent
#E3458D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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