#6A26AE#6A26AE

#6A26AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.199 H 301.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6A26AE
RGBrgb(106, 38, 174)
HSLhsl(270, 64%, 42%)
HSVhsv(270, 78%, 68%)
CMYKcmyk(39.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.93, 54.86, -59.74)
CIE-LCHlch(32.93, 81.11, 312.56°)
OKLaboklab(44.68% 0.103 -0.1707)
OKLCHoklch(44.68% 0.199 301.1)
XYZxyz(14.2751, 7.5063, 40.7330)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26AE #6AAE26
analogous
#2626AE #6A26AE #AE26AE
triadic
#6A26AE #AE6A26 #26AE6A
tetradic
#6A26AE #AE2626 #6AAE26 #26AEAE
square
#6A26AE #AE2626 #6AAE26 #26AEAE
split-complementary
#6A26AE #AEAE26 #26AE26
monochromatic
#2D104A #4B1B7C #6A26AE #893DD5 #A76FE0

Accessibility & contrast

On white

8.40
#6A26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26AE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26AE#FFFFFF#000000##FFFFFF
##6A26AE1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5B4A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a26ae;
/* rgb */ color: rgb(106, 38, 174);
/* oklch */ color: oklch(44.7% 0.199 301.1);
Tailwind
colors: {
  custom: {
    50: '#9b68c7',
    500: '#6a26ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a26ae;
$custom-light: #9b68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26ae",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 270,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.19932,
    "h": 301.1
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#6A26AE
secondary
#98C66A
accent
#E74194
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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