#6A29A2#6A29A2

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

Color values

HEX#6A29A2
RGBrgb(106, 41, 162)
HSLhsl(272, 60%, 40%)
HSVhsv(272, 75%, 64%)
CMYKcmyk(34.6%, 74.7%, 0%, 36.5%)
CIE-LABlab(32.39, 50.73, -53.42)
CIE-LCHlch(32.39, 73.67, 313.52°)
OKLaboklab(43.99% 0.1032 -0.1521)
OKLCHoklch(43.99% 0.184 304.2)
XYZxyz(13.2569, 7.2587, 34.8781)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29A2 #61A229
analogous
#2D29A2 #6A29A2 #A2299E
triadic
#6A29A2 #A26A29 #29A26A
tetradic
#6A29A2 #A22D29 #61A229 #299EA2
square
#6A29A2 #A22D29 #61A229 #299EA2
split-complementary
#6A29A2 #9EA229 #29A22D
monochromatic
#2A1040 #4A1D71 #6A29A2 #8A3BCD #A76CDA

Accessibility & contrast

On white

8.57
#6A29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6A29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29A2#FFFFFF#000000##FFFFFF
##6A29A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a29a2;
/* rgb */ color: rgb(106, 41, 162);
/* oklch */ color: oklch(44.0% 0.184 304.2);
Tailwind
colors: {
  custom: {
    50: '#9a69be',
    500: '#6a29a2',
    950: '#000000',
  },
}
SCSS
$custom: #6a29a2;
$custom-light: #9a69be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29a2",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 272.231,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.18379,
    "h": 304.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#6A29A2
secondary
#90C067
accent
#E3458E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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