#6726AE#6726AE

#6726AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.199 H 299.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6726AE
RGBrgb(103, 38, 174)
HSLhsl(269, 64%, 42%)
HSVhsv(269, 78%, 68%)
CMYKcmyk(40.8%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.54, 54.37, -60.41)
CIE-LCHlch(32.54, 81.27, 311.99°)
OKLaboklab(44.32% 0.0986 -0.1727)
OKLCHoklch(44.32% 0.199 299.7)
XYZxyz(13.9247, 7.3256, 40.7166)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726AE #6DAE26
analogous
#2629AE #6726AE #AB26AE
triadic
#6726AE #AE6726 #26AE67
tetradic
#6726AE #AE2629 #6DAE26 #26AEAB
square
#6726AE #AE2629 #6DAE26 #26AEAB
split-complementary
#6726AE #AEAB26 #29AE26
monochromatic
#2C104A #491B7C #6726AE #853DD5 #A56FE0

Accessibility & contrast

On white

8.52
#6726AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6726AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726AE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726AE#FFFFFF#000000##FFFFFF
##6726AE1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#564B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6726ae;
/* rgb */ color: rgb(103, 38, 174);
/* oklch */ color: oklch(44.3% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#9968c7',
    500: '#6726ae',
    950: '#000000',
  },
}
SCSS
$custom: #6726ae;
$custom-light: #9968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6726ae",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 268.676,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.19885,
    "h": 299.7
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#6726AE
secondary
#9AC66A
accent
#E74198
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6726AE

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

Preview Lab → · Contrast checker → · Palette generator →

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