#6D26AB#6D26AB

#6D26AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.197 H 303.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6D26AB
RGBrgb(109, 38, 171)
HSLhsl(272, 64%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(36.3%, 77.8%, 0%, 32.9%)
CIE-LABlab(33.09, 54.65, -57.68)
CIE-LCHlch(33.09, 79.46, 313.46°)
OKLaboklab(44.8% 0.1081 -0.1645)
OKLCHoklch(44.8% 0.197 303.3)
XYZxyz(14.3487, 7.5777, 39.2269)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26AB #64AB26
analogous
#2A26AB #6D26AB #AB26A6
triadic
#6D26AB #AB6D26 #26AB6D
tetradic
#6D26AB #AB2A26 #64AB26 #26A6AB
square
#6D26AB #AB2A26 #64AB26 #26A6AB
split-complementary
#6D26AB #A6AB26 #26AB2A
monochromatic
#2D1047 #4D1B79 #6D26AB #8C3BD3 #AA6DDF

Accessibility & contrast

On white

8.35
#6D26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D26AB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26AB#FFFFFF#000000##FFFFFF
##6D26AB1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d26ab;
/* rgb */ color: rgb(109, 38, 171);
/* oklch */ color: oklch(44.8% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#9d69c5',
    500: '#6d26ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d26ab;
$custom-light: #9d69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26ab",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 272.03,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44795,
    "c": 0.19685,
    "h": 303.3
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#6D26AB
secondary
#93C568
accent
#E7418E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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