#6A29B2#6A29B2

#6A29B2 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.200 H 299.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6A29B2
RGBrgb(106, 41, 178)
HSLhsl(268, 63%, 43%)
HSVhsv(268, 77%, 70%)
CMYKcmyk(40.4%, 77%, 0%, 30.2%)
CIE-LABlab(33.70, 54.60, -60.88)
CIE-LCHlch(33.70, 81.78, 311.89°)
OKLaboklab(45.32% 0.0994 -0.174)
OKLCHoklch(45.32% 0.2 299.7)
XYZxyz(14.7707, 7.8642, 42.8506)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29B2 #71B229
analogous
#292DB2 #6A29B2 #AE29B2
triadic
#6A29B2 #B26A29 #29B26A
tetradic
#6A29B2 #B2292D #71B229 #29B2AE
square
#6A29B2 #B2292D #71B229 #29B2AE
split-complementary
#6A29B2 #B2AE29 #2DB229
monochromatic
#2F124F #4C1E80 #6A29B2 #8844D4 #A876DF

Accessibility & contrast

On white

8.16
#6A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6A29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29B2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29B2#FFFFFF#000000##FFFFFF
##6A29B21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#594D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a29b2;
/* rgb */ color: rgb(106, 41, 178);
/* oklch */ color: oklch(45.3% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#9b6aca',
    500: '#6a29b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a29b2;
$custom-light: #9b6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29b2",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 268.467,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.20041,
    "h": 299.7
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#6A29B2
secondary
#9EC770
accent
#E64298
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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