#6729A2#6729A2

#6729A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.183 H 302.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6729A2
RGBrgb(103, 41, 162)
HSLhsl(271, 60%, 40%)
HSVhsv(271, 75%, 64%)
CMYKcmyk(36.4%, 74.7%, 0%, 36.5%)
CIE-LABlab(31.98, 50.17, -54.09)
CIE-LCHlch(31.98, 73.78, 312.84°)
OKLaboklab(43.62% 0.0989 -0.1542)
OKLCHoklch(43.62% 0.183 302.7)
XYZxyz(12.9065, 7.0781, 34.8617)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6729A2 #64A229
analogous
#2B29A2 #6729A2 #A229A1
triadic
#6729A2 #A26729 #29A267
tetradic
#6729A2 #A22B29 #64A229 #29A1A2
square
#6729A2 #A22B29 #64A229 #29A1A2
split-complementary
#6729A2 #A1A229 #29A22B
monochromatic
#291040 #481D71 #6729A2 #863BCD #A46CDA

Accessibility & contrast

On white

8.69
#6729A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6729A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6729A2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6729A2#FFFFFF#000000##FFFFFF
##6729A21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5B4763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6729a2;
/* rgb */ color: rgb(103, 41, 162);
/* oklch */ color: oklch(43.6% 0.183 302.7);
Tailwind
colors: {
  custom: {
    50: '#9869be',
    500: '#6729a2',
    950: '#000000',
  },
}
SCSS
$custom: #6729a2;
$custom-light: #9869be;
$custom-dark: #000000;
JSON
{
  "hex": "#6729a2",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 270.744,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.18316,
    "h": 302.7
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#6729A2
secondary
#92C067
accent
#E34592
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6729A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6729A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva