#6E26C7#6E26C7

#6E26C7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.225 H 296.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6E26C7
RGBrgb(110, 38, 199)
HSLhsl(267, 68%, 46%)
HSVhsv(267, 81%, 78%)
CMYKcmyk(44.7%, 80.9%, 0%, 22%)
CIE-LABlab(35.64, 61.46, -70.05)
CIE-LCHlch(35.64, 93.19, 311.26°)
OKLaboklab(47.35% 0.1014 -0.2008)
OKLCHoklch(47.35% 0.225 296.8)
XYZxyz(17.4296, 8.8244, 54.8067)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26C7 #7FC726
analogous
#262FC7 #6E26C7 #BF26C7
triadic
#6E26C7 #C76E26 #26C76E
tetradic
#6E26C7 #C7262F #7FC726 #26C7BF
square
#6E26C7 #C7262F #7FC726 #26C7BF
split-complementary
#6E26C7 #C7BF26 #2FC726
monochromatic
#351260 #521C94 #6E26C7 #8E4DDD #AE81E7

Accessibility & contrast

On white

7.59
#6E26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6E26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26C7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26C7#FFFFFF#000000##FFFFFF
##6E26C71.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#565578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e26c7;
/* rgb */ color: rgb(110, 38, 199);
/* oklch */ color: oklch(47.3% 0.225 296.8);
Tailwind
colors: {
  custom: {
    50: '#a06ad9',
    500: '#6e26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6e26c7;
$custom-light: #a06ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26c7",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 266.832,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.22494,
    "h": 296.8
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#6E26C7
secondary
#A9CF79
accent
#EB3D9D
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6E26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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