#6E26AE#6E26AE

#6E26AE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.200 H 302.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6E26AE
RGBrgb(110, 38, 174)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 68%)
CMYKcmyk(36.8%, 78.2%, 0%, 31.8%)
CIE-LABlab(33.47, 55.52, -58.84)
CIE-LCHlch(33.47, 80.90, 313.34°)
OKLaboklab(45.17% 0.1088 -0.1679)
OKLCHoklch(45.17% 0.2 302.9)
XYZxyz(14.7617, 7.7572, 40.7558)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26AE #66AE26
analogous
#2A26AE #6E26AE #AE26AA
triadic
#6E26AE #AE6E26 #26AE6E
tetradic
#6E26AE #AE2A26 #66AE26 #26AAAE
square
#6E26AE #AE2A26 #66AE26 #26AAAE
split-complementary
#6E26AE #AAAE26 #26AE2A
monochromatic
#2E104A #4E1B7C #6E26AE #8D3DD5 #AB6FE0

Accessibility & contrast

On white

8.23
#6E26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26AE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26AE#FFFFFF#000000##FFFFFF
##6E26AE1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#614A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e26ae;
/* rgb */ color: rgb(110, 38, 174);
/* oklch */ color: oklch(45.2% 0.200 302.9);
Tailwind
colors: {
  custom: {
    50: '#9e69c7',
    500: '#6e26ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e26ae;
$custom-light: #9e69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26ae",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 271.765,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.20004,
    "h": 302.9
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#6E26AE
secondary
#95C66A
accent
#E7418F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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