#6C26AF#6C26AF

#6C26AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.201 H 301.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6C26AF
RGBrgb(108, 38, 175)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 69%)
CMYKcmyk(38.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.28, 55.43, -59.75)
CIE-LCHlch(33.28, 81.50, 312.85°)
OKLaboklab(45.01% 0.1056 -0.1706)
OKLCHoklch(45.01% 0.201 301.8)
XYZxyz(14.6134, 7.6694, 41.2596)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26AF #69AF26
analogous
#2826AF #6C26AF #AF26AE
triadic
#6C26AF #AF6C26 #26AF6C
tetradic
#6C26AF #AF2826 #69AF26 #26AEAF
square
#6C26AF #AF2826 #69AF26 #26AEAF
split-complementary
#6C26AF #AEAF26 #26AF28
monochromatic
#2E104A #4D1B7D #6C26AF #8B3DD5 #A970E0

Accessibility & contrast

On white

8.29
#6C26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6C26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C26AF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26AF#FFFFFF#000000##FFFFFF
##6C26AF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5D4B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c26af;
/* rgb */ color: rgb(108, 38, 175);
/* oklch */ color: oklch(45.0% 0.201 301.8);
Tailwind
colors: {
  custom: {
    50: '#9c69c8',
    500: '#6c26af',
    950: '#000000',
  },
}
SCSS
$custom: #6c26af;
$custom-light: #9c69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26af",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 270.657,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.20067,
    "h": 301.8
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#6C26AF
secondary
#97C76A
accent
#E74092
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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