#6726A2#6726A2

#6726A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.186 H 303.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6726A2
RGBrgb(103, 38, 162)
HSLhsl(271, 62%, 39%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(36.4%, 76.5%, 0%, 36.5%)
CIE-LABlab(31.53, 51.47, -54.83)
CIE-LCHlch(31.53, 75.20, 313.19°)
OKLaboklab(43.3% 0.1017 -0.1563)
OKLCHoklch(43.3% 0.186 303)
XYZxyz(12.8067, 6.8784, 34.8284)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6726A2 #61A226
analogous
#2926A2 #6726A2 #A2269F
triadic
#6726A2 #A26726 #26A267
tetradic
#6726A2 #A22926 #61A226 #269FA2
square
#6726A2 #A22926 #61A226 #269FA2
split-complementary
#6726A2 #9FA226 #26A229
monochromatic
#280F3F #471A70 #6726A2 #8635D0 #A467DB

Accessibility & contrast

On white

8.84
#6726A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6726A2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6726A2#FFFFFF#000000##FFFFFF
##6726A21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5B4663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6726a2;
/* rgb */ color: rgb(103, 38, 162);
/* oklch */ color: oklch(43.3% 0.186 303.0);
Tailwind
colors: {
  custom: {
    50: '#9867be',
    500: '#6726a2',
    950: '#000000',
  },
}
SCSS
$custom: #6726a2;
$custom-light: #9867be;
$custom-dark: #000000;
JSON
{
  "hex": "#6726a2",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 271.452,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.18649,
    "h": 303
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#6726A2
secondary
#90C163
accent
#E54390
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6726A2

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

Preview Lab → · Contrast checker → · Palette generator →

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