#6E26A7#6E26A7

#6E26A7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.193 H 304.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6E26A7
RGBrgb(110, 38, 167)
HSLhsl(273, 63%, 40%)
HSVhsv(273, 77%, 65%)
CMYKcmyk(34.1%, 77.2%, 0%, 34.5%)
CIE-LABlab(32.90, 53.89, -55.57)
CIE-LCHlch(32.90, 77.41, 314.12°)
OKLaboklab(44.59% 0.1106 -0.1583)
OKLCHoklch(44.59% 0.193 304.9)
XYZxyz(14.0970, 7.4913, 37.2550)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26A7 #5FA726
analogous
#2D26A7 #6E26A7 #A726A0
triadic
#6E26A7 #A76E26 #26A76E
tetradic
#6E26A7 #A72D26 #5FA726 #26A0A7
square
#6E26A7 #A72D26 #5FA726 #26A0A7
split-complementary
#6E26A7 #A0A726 #26A72D
monochromatic
#2C0F43 #4D1B75 #6E26A7 #8E38D2 #AA6ADD

Accessibility & contrast

On white

8.41
#6E26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6E26A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26A7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26A7#FFFFFF#000000##FFFFFF
##6E26A71.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#634766
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e26a7;
/* rgb */ color: rgb(110, 38, 167);
/* oklch */ color: oklch(44.6% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#9d69c2',
    500: '#6e26a7',
    950: '#000000',
  },
}
SCSS
$custom: #6e26a7;
$custom-light: #9d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26a7",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 273.488,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.19306,
    "h": 304.9
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#6E26A7
secondary
#8FC365
accent
#E6428A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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