#6726AD#6726AD

#6726AD is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.198 H 300.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6726AD
RGBrgb(103, 38, 173)
HSLhsl(269, 64%, 41%)
HSVhsv(269, 78%, 68%)
CMYKcmyk(40.5%, 78%, 0%, 32.2%)
CIE-LABlab(32.45, 54.13, -59.95)
CIE-LCHlch(32.45, 80.77, 312.08°)
OKLaboklab(44.23% 0.0988 -0.1714)
OKLCHoklch(44.23% 0.198 300)
XYZxyz(13.8276, 7.2868, 40.2050)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726AD #6CAD26
analogous
#2629AD #6726AD #AB26AD
triadic
#6726AD #AD6726 #26AD67
tetradic
#6726AD #AD2629 #6CAD26 #26ADAB
square
#6726AD #AD2629 #6CAD26 #26ADAB
split-complementary
#6726AD #ADAB26 #29AD26
monochromatic
#2B1049 #491B7B #6726AD #853CD4 #A56EDF

Accessibility & contrast

On white

8.55
#6726AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6726AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726AD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726AD#FFFFFF#000000##FFFFFF
##6726AD1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#564A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6726ad;
/* rgb */ color: rgb(103, 38, 173);
/* oklch */ color: oklch(44.2% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#9968c6',
    500: '#6726ad',
    950: '#000000',
  },
}
SCSS
$custom: #6726ad;
$custom-light: #9968c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6726ad",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 268.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.19783,
    "h": 300
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#6726AD
secondary
#99C669
accent
#E74197
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6726AD

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

Preview Lab → · Contrast checker → · Palette generator →

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