#6E26A2#6E26A2

#6E26A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.188 H 306.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6E26A2
RGBrgb(110, 38, 162)
HSLhsl(275, 62%, 39%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(32.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(32.50, 52.74, -53.21)
CIE-LCHlch(32.50, 74.91, 314.75°)
OKLaboklab(44.19% 0.1117 -0.1513)
OKLCHoklch(44.19% 0.188 306.4)
XYZxyz(13.6437, 7.3100, 34.8676)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26A2 #5AA226
analogous
#3026A2 #6E26A2 #A22698
triadic
#6E26A2 #A26E26 #26A26E
tetradic
#6E26A2 #A23026 #5AA226 #2698A2
square
#6E26A2 #A23026 #5AA226 #2698A2
split-complementary
#6E26A2 #98A226 #26A230
monochromatic
#2B0F3F #4C1A70 #6E26A2 #8F35D0 #AB67DB

Accessibility & contrast

On white

8.53
#6E26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26A2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26A2#FFFFFF#000000##FFFFFF
##6E26A21.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#654563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e26a2;
/* rgb */ color: rgb(110, 38, 162);
/* oklch */ color: oklch(44.2% 0.188 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d68be',
    500: '#6e26a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e26a2;
$custom-light: #9d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26a2",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 274.839,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.18806,
    "h": 306.4
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#6E26A2
secondary
#8AC163
accent
#E54387
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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