#6729B2#6729B2

#6729B2 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.200 H 298.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6729B2
RGBrgb(103, 41, 178)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 77%, 70%)
CMYKcmyk(42.1%, 77%, 0%, 30.2%)
CIE-LABlab(33.32, 54.11, -61.52)
CIE-LCHlch(33.32, 81.93, 311.33°)
OKLaboklab(44.97% 0.095 -0.176)
OKLCHoklch(44.97% 0.2 298.4)
XYZxyz(14.4203, 7.6836, 42.8342)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6729B2 #74B229
analogous
#2930B2 #6729B2 #AB29B2
triadic
#6729B2 #B26729 #29B267
tetradic
#6729B2 #B22930 #74B229 #29B2AB
square
#6729B2 #B22930 #74B229 #29B2AB
split-complementary
#6729B2 #B2AB29 #30B229
monochromatic
#2D124F #4A1E80 #6729B2 #8544D4 #A676DF

Accessibility & contrast

On white

8.28
#6729B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6729B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6729B2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6729B2#FFFFFF#000000##FFFFFF
##6729B21.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#544E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6729b2;
/* rgb */ color: rgb(103, 41, 178);
/* oklch */ color: oklch(45.0% 0.200 298.4);
Tailwind
colors: {
  custom: {
    50: '#996aca',
    500: '#6729b2',
    950: '#000000',
  },
}
SCSS
$custom: #6729b2;
$custom-light: #996aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6729b2",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 267.153,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.20001,
    "h": 298.4
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#6729B2
secondary
#A0C770
accent
#E6429C
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6729B2

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

Preview Lab → · Contrast checker → · Palette generator →

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