#6726A4#6726A4

#6726A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.189 H 302.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6726A4
RGBrgb(103, 38, 164)
HSLhsl(271, 62%, 40%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(37.2%, 76.8%, 0%, 35.7%)
CIE-LABlab(31.69, 51.95, -55.77)
CIE-LCHlch(31.69, 76.22, 312.97°)
OKLaboklab(43.46% 0.1012 -0.1591)
OKLCHoklch(43.46% 0.189 302.4)
XYZxyz(12.9859, 6.9501, 35.7721)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726A4 #63A426
analogous
#2826A4 #6726A4 #A426A2
triadic
#6726A4 #A46726 #26A467
tetradic
#6726A4 #A42826 #63A426 #26A2A4
square
#6726A4 #A42826 #63A426 #26A2A4
split-complementary
#6726A4 #A2A426 #26A428
monochromatic
#290F41 #481A72 #6726A4 #8637D1 #A468DC

Accessibility & contrast

On white

8.79
#6726A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6726A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726A4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726A4#FFFFFF#000000##FFFFFF
##6726A41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#5A4764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6726a4;
/* rgb */ color: rgb(103, 38, 164);
/* oklch */ color: oklch(43.5% 0.189 302.4);
Tailwind
colors: {
  custom: {
    50: '#9868c0',
    500: '#6726a4',
    950: '#000000',
  },
}
SCSS
$custom: #6726a4;
$custom-light: #9868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6726a4",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 270.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.18855,
    "h": 302.4
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#6726A4
secondary
#91C264
accent
#E54291
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6726A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6726A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva