#6E26A4#6E26A4

#6E26A4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.190 H 305.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6E26A4
RGBrgb(110, 38, 164)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 77%, 64%)
CMYKcmyk(32.9%, 76.8%, 0%, 35.7%)
CIE-LABlab(32.66, 53.20, -54.16)
CIE-LCHlch(32.66, 75.91, 314.49°)
OKLaboklab(44.35% 0.1112 -0.1541)
OKLCHoklch(44.35% 0.19 305.8)
XYZxyz(13.8229, 7.3817, 35.8114)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26A4 #5CA426
analogous
#2F26A4 #6E26A4 #A4269B
triadic
#6E26A4 #A46E26 #26A46E
tetradic
#6E26A4 #A42F26 #5CA426 #269BA4
square
#6E26A4 #A42F26 #5CA426 #269BA4
split-complementary
#6E26A4 #9BA426 #26A42F
monochromatic
#2B0F41 #4D1A72 #6E26A4 #8F37D1 #AA68DC

Accessibility & contrast

On white

8.48
#6E26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26A4
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26A4#FFFFFF#000000##FFFFFF
##6E26A41.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#644664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e26a4;
/* rgb */ color: rgb(110, 38, 164);
/* oklch */ color: oklch(44.3% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#9d68c0',
    500: '#6e26a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e26a4;
$custom-light: #9d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26a4",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 274.286,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.19006,
    "h": 305.8
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#6E26A4
secondary
#8CC264
accent
#E54288
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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