#6729C2#6729C2

#6729C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.217 H 294.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6729C2
RGBrgb(103, 41, 194)
HSLhsl(264, 65%, 46%)
HSVhsv(264, 79%, 76%)
CMYKcmyk(46.9%, 78.9%, 0%, 23.9%)
CIE-LABlab(34.73, 58.11, -68.66)
CIE-LCHlch(34.73, 89.95, 310.24°)
OKLaboklab(46.39% 0.0904 -0.1969)
OKLCHoklch(46.39% 0.217 294.7)
XYZxyz(16.1214, 8.3640, 51.7935)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6729C2 #84C229
analogous
#2937C2 #6729C2 #B329C2
triadic
#6729C2 #C26729 #29C267
tetradic
#6729C2 #C22937 #84C229 #29C2B3
square
#6729C2 #C22937 #84C229 #29C2B3
split-complementary
#6729C2 #C2B329 #37C229
monochromatic
#31145D #4C1E8F #6729C2 #874EDA #A981E4

Accessibility & contrast

On white

7.86
#6729C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6729C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6729C2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6729C2#FFFFFF#000000##FFFFFF
##6729C21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#4C5476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6729c2;
/* rgb */ color: rgb(103, 41, 194);
/* oklch */ color: oklch(46.4% 0.217 294.7);
Tailwind
colors: {
  custom: {
    50: '#9b6bd6',
    500: '#6729c2',
    950: '#000000',
  },
}
SCSS
$custom: #6729c2;
$custom-light: #9b6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6729c2",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 264.314,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.2167,
    "h": 294.7
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#6729C2
secondary
#ABCD7A
accent
#E840A4
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6729C2

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

Preview Lab → · Contrast checker → · Palette generator →

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