#6726A8#6726A8

#6726A8 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.193 H 301.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6726A8
RGBrgb(103, 38, 168)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 66%)
CMYKcmyk(38.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.03, 52.91, -57.64)
CIE-LCHlch(32.03, 78.25, 312.55°)
OKLaboklab(43.8% 0.1002 -0.1646)
OKLCHoklch(43.8% 0.193 301.3)
XYZxyz(13.3528, 7.0969, 37.7045)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726A8 #67A826
analogous
#2626A8 #6726A8 #A826A8
triadic
#6726A8 #A86726 #26A867
tetradic
#6726A8 #A82626 #67A826 #26A8A8
square
#6726A8 #A82626 #67A826 #26A8A8
split-complementary
#6726A8 #A8A826 #26A826
monochromatic
#2A0F44 #481B76 #6726A8 #8639D2 #A46BDE

Accessibility & contrast

On white

8.68
#6726A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6726A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6726A8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726A8#FFFFFF#000000##FFFFFF
##6726A81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#594866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6726a8;
/* rgb */ color: rgb(103, 38, 168);
/* oklch */ color: oklch(43.8% 0.193 301.3);
Tailwind
colors: {
  custom: {
    50: '#9968c3',
    500: '#6726a8',
    950: '#000000',
  },
}
SCSS
$custom: #6726a8;
$custom-light: #9968c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6726a8",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 270,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.19267,
    "h": 301.3
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#6726A8
secondary
#95C466
accent
#E64294
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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