#6B26AC#6B26AC

#6B26AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.197 H 302.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6B26AC
RGBrgb(107, 38, 172)
HSLhsl(271, 64%, 41%)
HSVhsv(271, 78%, 67%)
CMYKcmyk(37.8%, 77.9%, 0%, 32.5%)
CIE-LABlab(32.90, 54.55, -58.60)
CIE-LCHlch(32.90, 80.06, 312.95°)
OKLaboklab(44.63% 0.105 -0.1673)
OKLCHoklch(44.63% 0.197 302.1)
XYZxyz(14.2011, 7.4905, 39.7194)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B26AC #67AC26
analogous
#2826AC #6B26AC #AC26AA
triadic
#6B26AC #AC6B26 #26AC6B
tetradic
#6B26AC #AC2826 #67AC26 #26AAAC
square
#6B26AC #AC2826 #67AC26 #26AAAC
split-complementary
#6B26AC #AAAC26 #26AC28
monochromatic
#2D1048 #4C1B7A #6B26AC #8A3BD4 #A86EDF

Accessibility & contrast

On white

8.41
#6B26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B26AC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B26AC#FFFFFF#000000##FFFFFF
##6B26AC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b26ac;
/* rgb */ color: rgb(107, 38, 172);
/* oklch */ color: oklch(44.6% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#9c68c6',
    500: '#6b26ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b26ac;
$custom-light: #9c68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b26ac",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 270.896,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.19747,
    "h": 302.1
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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