#6C26AA#6C26AA

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

Color values

HEX#6C26AA
RGBrgb(108, 38, 170)
HSLhsl(272, 63%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(36.5%, 77.6%, 0%, 33.3%)
CIE-LABlab(32.87, 54.24, -57.44)
CIE-LCHlch(32.87, 79.01, 313.36°)
OKLaboklab(44.59% 0.1069 -0.1638)
OKLCHoklch(44.59% 0.196 303.1)
XYZxyz(14.1314, 7.4766, 38.7211)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26AA #64AA26
analogous
#2A26AA #6C26AA #AA26A6
triadic
#6C26AA #AA6C26 #26AA6C
tetradic
#6C26AA #AA2A26 #64AA26 #26A6AA
square
#6C26AA #AA2A26 #64AA26 #26A6AA
split-complementary
#6C26AA #A6AA26 #26AA2A
monochromatic
#2C1046 #4C1B78 #6C26AA #8B3AD3 #A96CDE

Accessibility & contrast

On white

8.42
#6C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C26AA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26AA#FFFFFF#000000##FFFFFF
##6C26AA1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#5F4867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c26aa;
/* rgb */ color: rgb(108, 38, 170);
/* oklch */ color: oklch(44.6% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#9c68c4',
    500: '#6c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c26aa;
$custom-light: #9c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26aa",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 271.818,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.19564,
    "h": 303.1
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#6C26AA
secondary
#93C567
accent
#E6418F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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