#6C26AB#6C26AB

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

Color values

HEX#6C26AB
RGBrgb(108, 38, 171)
HSLhsl(272, 64%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(36.8%, 77.8%, 0%, 32.9%)
CIE-LABlab(32.95, 54.48, -57.91)
CIE-LCHlch(32.95, 79.51, 313.25°)
OKLaboklab(44.67% 0.1067 -0.1652)
OKLCHoklch(44.67% 0.197 302.9)
XYZxyz(14.2264, 7.5146, 39.2212)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26AB #65AB26
analogous
#2A26AB #6C26AB #AB26A7
triadic
#6C26AB #AB6C26 #26AB6C
tetradic
#6C26AB #AB2A26 #65AB26 #26A7AB
square
#6C26AB #AB2A26 #65AB26 #26A7AB
split-complementary
#6C26AB #A7AB26 #26AB2A
monochromatic
#2D1047 #4C1B79 #6C26AB #8B3BD3 #A96DDF

Accessibility & contrast

On white

8.39
#6C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C26AB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26AB#FFFFFF#000000##FFFFFF
##6C26AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#5F4968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c26ab;
/* rgb */ color: rgb(108, 38, 171);
/* oklch */ color: oklch(44.7% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#9c68c5',
    500: '#6c26ab',
    950: '#000000',
  },
}
SCSS
$custom: #6c26ab;
$custom-light: #9c68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26ab",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 271.579,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.19664,
    "h": 302.9
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#6C26AB
secondary
#94C568
accent
#E74190
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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