#6E26AB#6E26AB

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

Color values

HEX#6E26AB
RGBrgb(110, 38, 171)
HSLhsl(272, 64%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(35.7%, 77.8%, 0%, 32.9%)
CIE-LABlab(33.22, 54.82, -57.45)
CIE-LCHlch(33.22, 79.41, 313.66°)
OKLaboklab(44.92% 0.1096 -0.1638)
OKLCHoklch(44.92% 0.197 303.8)
XYZxyz(14.4725, 7.6415, 39.2327)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26AB #63AB26
analogous
#2B26AB #6E26AB #AB26A5
triadic
#6E26AB #AB6E26 #26AB6E
tetradic
#6E26AB #AB2B26 #63AB26 #26A5AB
square
#6E26AB #AB2B26 #63AB26 #26A5AB
split-complementary
#6E26AB #A5AB26 #26AB2B
monochromatic
#2E1047 #4E1B79 #6E26AB #8D3BD3 #AA6DDF

Accessibility & contrast

On white

8.31
#6E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E26AB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26AB#FFFFFF#000000##FFFFFF
##6E26AB1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#624968
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e26ab;
/* rgb */ color: rgb(110, 38, 171);
/* oklch */ color: oklch(44.9% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#9d69c5',
    500: '#6e26ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e26ab;
$custom-light: #9d69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26ab",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 272.481,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.19705,
    "h": 303.8
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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