#6D26AC#6D26AC

#6D26AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.198 H 303.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6D26AC
RGBrgb(109, 38, 172)
HSLhsl(272, 64%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(36.6%, 77.9%, 0%, 32.5%)
CIE-LABlab(33.17, 54.88, -58.14)
CIE-LCHlch(33.17, 79.95, 313.35°)
OKLaboklab(44.88% 0.1079 -0.1658)
OKLCHoklch(44.88% 0.198 303)
XYZxyz(14.4444, 7.6160, 39.7308)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26AC #65AC26
analogous
#2A26AC #6D26AC #AC26A8
triadic
#6D26AC #AC6D26 #26AC6D
tetradic
#6D26AC #AC2A26 #65AC26 #26A8AC
square
#6D26AC #AC2A26 #65AC26 #26A8AC
split-complementary
#6D26AC #A8AC26 #26AC2A
monochromatic
#2D1048 #4D1B7A #6D26AC #8C3BD4 #AA6EDF

Accessibility & contrast

On white

8.32
#6D26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26AC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26AC#FFFFFF#000000##FFFFFF
##6D26AC1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#604968
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d26ac;
/* rgb */ color: rgb(109, 38, 172);
/* oklch */ color: oklch(44.9% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#9d69c6',
    500: '#6d26ac',
    950: '#000000',
  },
}
SCSS
$custom: #6d26ac;
$custom-light: #9d69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26ac",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 271.791,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.19784,
    "h": 303
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#6D26AC
secondary
#94C568
accent
#E7418F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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