#6C26C4#6C26C4

#6C26C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.222 H 296.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6C26C4
RGBrgb(108, 38, 196)
HSLhsl(267, 68%, 46%)
HSVhsv(267, 81%, 77%)
CMYKcmyk(44.9%, 80.6%, 0%, 23.1%)
CIE-LABlab(35.12, 60.47, -69.16)
CIE-LCHlch(35.12, 91.87, 311.16°)
OKLaboklab(46.85% 0.0994 -0.1982)
OKLCHoklch(46.85% 0.222 296.6)
XYZxyz(16.8386, 8.5595, 52.9788)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26C4 #7EC426
analogous
#262FC4 #6C26C4 #BB26C4
triadic
#6C26C4 #C46C26 #26C46C
tetradic
#6C26C4 #C4262F #7EC426 #26C4BB
square
#6C26C4 #C4262F #7EC426 #26C4BB
split-complementary
#6C26C4 #C4BB26 #2FC426
monochromatic
#34125D #501C91 #6C26C4 #8B4BDC #AC7EE6

Accessibility & contrast

On white

7.74
#6C26C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C26C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C26C4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26C4#FFFFFF#000000##FFFFFF
##6C26C41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#545476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c26c4;
/* rgb */ color: rgb(108, 38, 196);
/* oklch */ color: oklch(46.8% 0.222 296.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ad7',
    500: '#6c26c4',
    950: '#000000',
  },
}
SCSS
$custom: #6c26c4;
$custom-light: #9f6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26c4",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 266.582,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.22176,
    "h": 296.6
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6C26C4
secondary
#A8CE77
accent
#EA3D9E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C26C4

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

Preview Lab → · Contrast checker → · Palette generator →

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