#6726AC#6726AC

#6726AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.197 H 300.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6726AC
RGBrgb(103, 38, 172)
HSLhsl(269, 64%, 41%)
HSVhsv(269, 78%, 67%)
CMYKcmyk(40.1%, 77.9%, 0%, 32.5%)
CIE-LABlab(32.37, 53.89, -59.49)
CIE-LCHlch(32.37, 80.27, 312.17°)
OKLaboklab(44.14% 0.0991 -0.17)
OKLCHoklch(44.14% 0.197 300.2)
XYZxyz(13.7312, 7.2482, 39.6973)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726AC #6BAC26
analogous
#2628AC #6726AC #AA26AC
triadic
#6726AC #AC6726 #26AC67
tetradic
#6726AC #AC2628 #6BAC26 #26ACAA
square
#6726AC #AC2628 #6BAC26 #26ACAA
split-complementary
#6726AC #ACAA26 #28AC26
monochromatic
#2B1048 #491B7A #6726AC #853BD4 #A56EDF

Accessibility & contrast

On white

8.57
#6726AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6726AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726AC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726AC#FFFFFF#000000##FFFFFF
##6726AC1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#574A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6726ac;
/* rgb */ color: rgb(103, 38, 172);
/* oklch */ color: oklch(44.1% 0.197 300.2);
Tailwind
colors: {
  custom: {
    50: '#9968c6',
    500: '#6726ac',
    950: '#000000',
  },
}
SCSS
$custom: #6726ac;
$custom-light: #9968c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6726ac",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 269.104,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44142,
    "c": 0.19679,
    "h": 300.2
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#6726AC
secondary
#98C568
accent
#E74196
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6726AC

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

Preview Lab → · Contrast checker → · Palette generator →

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