#6726A3#6726A3

#6726A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.188 H 302.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6726A3
RGBrgb(103, 38, 163)
HSLhsl(271, 62%, 39%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(36.8%, 76.7%, 0%, 36.1%)
CIE-LABlab(31.61, 51.71, -55.30)
CIE-LCHlch(31.61, 75.71, 313.07°)
OKLaboklab(43.38% 0.1014 -0.1577)
OKLCHoklch(43.38% 0.188 302.7)
XYZxyz(12.8959, 6.9141, 35.2984)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726A3 #62A326
analogous
#2926A3 #6726A3 #A326A1
triadic
#6726A3 #A36726 #26A367
tetradic
#6726A3 #A32926 #62A326 #26A1A3
square
#6726A3 #A32926 #62A326 #26A1A3
split-complementary
#6726A3 #A1A326 #26A329
monochromatic
#280F40 #481A71 #6726A3 #8636D0 #A468DC

Accessibility & contrast

On white

8.81
#6726A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6726A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726A3
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726A3#FFFFFF#000000##FFFFFF
##6726A31.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5A4663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6726a3;
/* rgb */ color: rgb(103, 38, 163);
/* oklch */ color: oklch(43.4% 0.188 302.7);
Tailwind
colors: {
  custom: {
    50: '#9868bf',
    500: '#6726a3',
    950: '#000000',
  },
}
SCSS
$custom: #6726a3;
$custom-light: #9868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6726a3",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 271.2,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.18752,
    "h": 302.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#6726A3
secondary
#91C263
accent
#E54391
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6726A3

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

Preview Lab → · Contrast checker → · Palette generator →

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