#6729B4#6729B4

#6729B4 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.202 H 297.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6729B4
RGBrgb(103, 41, 180)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 77%, 71%)
CMYKcmyk(42.8%, 77.2%, 0%, 29.4%)
CIE-LABlab(33.49, 54.61, -62.43)
CIE-LCHlch(33.49, 82.94, 311.18°)
OKLaboklab(45.14% 0.0945 -0.1787)
OKLCHoklch(45.14% 0.202 297.9)
XYZxyz(14.6225, 7.7645, 43.8995)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6729B4 #76B429
analogous
#2930B4 #6729B4 #AC29B4
triadic
#6729B4 #B46729 #29B467
tetradic
#6729B4 #B42930 #76B429 #29B4AC
square
#6729B4 #B42930 #76B429 #29B4AC
split-complementary
#6729B4 #B4AC29 #30B429
monochromatic
#2E1250 #4A1E82 #6729B4 #8545D5 #A677E0

Accessibility & contrast

On white

8.23
#6729B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6729B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6729B4
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6729B4#FFFFFF#000000##FFFFFF
##6729B41.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#534F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6729b4;
/* rgb */ color: rgb(103, 41, 180);
/* oklch */ color: oklch(45.1% 0.202 297.9);
Tailwind
colors: {
  custom: {
    50: '#9a6acc',
    500: '#6729b4',
    950: '#000000',
  },
}
SCSS
$custom: #6729b4;
$custom-light: #9a6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#6729b4",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 266.763,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.2021,
    "h": 297.9
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#6729B4
secondary
#A1C871
accent
#E6429D
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6729B4

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

Preview Lab → · Contrast checker → · Palette generator →

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