#6A26AC#6A26AC

#6A26AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.197 H 301.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6A26AC
RGBrgb(106, 38, 172)
HSLhsl(270, 64%, 41%)
HSVhsv(270, 78%, 67%)
CMYKcmyk(38.4%, 77.9%, 0%, 32.5%)
CIE-LABlab(32.76, 54.38, -58.82)
CIE-LCHlch(32.76, 80.11, 312.75°)
OKLaboklab(44.51% 0.1035 -0.1679)
OKLCHoklch(44.51% 0.197 301.6)
XYZxyz(14.0816, 7.4289, 39.7138)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26AC #68AC26
analogous
#2726AC #6A26AC #AC26AB
triadic
#6A26AC #AC6A26 #26AC6A
tetradic
#6A26AC #AC2726 #68AC26 #26ABAC
square
#6A26AC #AC2726 #68AC26 #26ABAC
split-complementary
#6A26AC #ABAC26 #26AC27
monochromatic
#2C1048 #4B1B7A #6A26AC #893BD4 #A76EDF

Accessibility & contrast

On white

8.45
#6A26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26AC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26AC#FFFFFF#000000##FFFFFF
##6A26AC1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5B4A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a26ac;
/* rgb */ color: rgb(106, 38, 172);
/* oklch */ color: oklch(44.5% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#9b68c6',
    500: '#6a26ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a26ac;
$custom-light: #9b68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26ac",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 270.448,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.19729,
    "h": 301.6
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#6A26AC
secondary
#96C568
accent
#E74193
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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