#6D26AE#6D26AE

#6D26AE is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.200 H 302.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6D26AE
RGBrgb(109, 38, 174)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 68%)
CMYKcmyk(37.4%, 78.2%, 0%, 31.8%)
CIE-LABlab(33.34, 55.35, -59.07)
CIE-LCHlch(33.34, 80.95, 313.14°)
OKLaboklab(45.05% 0.1074 -0.1686)
OKLCHoklch(45.05% 0.2 302.5)
XYZxyz(14.6379, 7.6934, 40.7500)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26AE #67AE26
analogous
#2926AE #6D26AE #AE26AB
triadic
#6D26AE #AE6D26 #26AE6D
tetradic
#6D26AE #AE2926 #67AE26 #26ABAE
square
#6D26AE #AE2926 #67AE26 #26ABAE
split-complementary
#6D26AE #ABAE26 #26AE29
monochromatic
#2E104A #4E1B7C #6D26AE #8C3DD5 #AA6FE0

Accessibility & contrast

On white

8.27
#6D26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6D26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26AE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26AE#FFFFFF#000000##FFFFFF
##6D26AE1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5F4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d26ae;
/* rgb */ color: rgb(109, 38, 174);
/* oklch */ color: oklch(45.0% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#9d69c7',
    500: '#6d26ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d26ae;
$custom-light: #9d69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26ae",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 271.324,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.19985,
    "h": 302.5
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#6D26AE
secondary
#96C66A
accent
#E74190
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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