#6726A7#6726A7

#6726A7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.192 H 301.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6726A7
RGBrgb(103, 38, 167)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 65%)
CMYKcmyk(38.3%, 77.2%, 0%, 34.5%)
CIE-LABlab(31.94, 52.67, -57.18)
CIE-LCHlch(31.94, 77.74, 312.65°)
OKLaboklab(43.72% 0.1004 -0.1632)
OKLCHoklch(43.72% 0.192 301.6)
XYZxyz(13.2600, 7.0597, 37.2158)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726A7 #66A726
analogous
#2726A7 #6726A7 #A726A6
triadic
#6726A7 #A76726 #26A767
tetradic
#6726A7 #A72726 #66A726 #26A6A7
square
#6726A7 #A72726 #66A726 #26A6A7
split-complementary
#6726A7 #A6A726 #26A727
monochromatic
#2A0F43 #481B75 #6726A7 #8638D2 #A46ADD

Accessibility & contrast

On white

8.71
#6726A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6726A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726A7
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726A7#FFFFFF#000000##FFFFFF
##6726A71.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#594865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6726a7;
/* rgb */ color: rgb(103, 38, 167);
/* oklch */ color: oklch(43.7% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#9868c2',
    500: '#6726a7',
    950: '#000000',
  },
}
SCSS
$custom: #6726a7;
$custom-light: #9868c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6726a7",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 270.233,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.19164,
    "h": 301.6
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#6726A7
secondary
#94C365
accent
#E64293
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6726A7

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

Preview Lab → · Contrast checker → · Palette generator →

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