#6D26C7#6D26C7

#6D26C7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.225 H 296.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6D26C7
RGBrgb(109, 38, 199)
HSLhsl(266, 68%, 46%)
HSVhsv(266, 81%, 78%)
CMYKcmyk(45.2%, 80.9%, 0%, 22%)
CIE-LABlab(35.52, 61.33, -70.26)
CIE-LCHlch(35.52, 93.26, 311.12°)
OKLaboklab(47.23% 0.0999 -0.2014)
OKLCHoklch(47.23% 0.225 296.4)
XYZxyz(17.3058, 8.7606, 54.8009)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26C7 #80C726
analogous
#262FC7 #6D26C7 #BE26C7
triadic
#6D26C7 #C76D26 #26C76D
tetradic
#6D26C7 #C7262F #80C726 #26C7BE
square
#6D26C7 #C7262F #80C726 #26C7BE
split-complementary
#6D26C7 #C7BE26 #2FC726
monochromatic
#351260 #511C94 #6D26C7 #8D4DDD #AE81E7

Accessibility & contrast

On white

7.63
#6D26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6D26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26C7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26C7#FFFFFF#000000##FFFFFF
##6D26C71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#545578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d26c7;
/* rgb */ color: rgb(109, 38, 199);
/* oklch */ color: oklch(47.2% 0.225 296.4);
Tailwind
colors: {
  custom: {
    50: '#a06ad9',
    500: '#6d26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6d26c7;
$custom-light: #a06ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26c7",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 266.46,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.22485,
    "h": 296.4
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#6D26C7
secondary
#A9CF79
accent
#EB3D9E
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6D26C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6D26C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva