#6E26A5#6E26A5

#6E26A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.191 H 305.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6E26A5
RGBrgb(110, 38, 165)
HSLhsl(274, 63%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(33.3%, 77%, 0%, 35.3%)
CIE-LABlab(32.74, 53.43, -54.63)
CIE-LCHlch(32.74, 76.41, 314.36°)
OKLaboklab(44.43% 0.111 -0.1555)
OKLCHoklch(44.43% 0.191 305.5)
XYZxyz(13.9135, 7.4179, 36.2888)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26A5 #5DA526
analogous
#2F26A5 #6E26A5 #A5269D
triadic
#6E26A5 #A56E26 #26A56E
tetradic
#6E26A5 #A52F26 #5DA526 #269DA5
square
#6E26A5 #A52F26 #5DA526 #269DA5
split-complementary
#6E26A5 #9DA526 #26A52F
monochromatic
#2C0F42 #4D1B73 #6E26A5 #8E37D1 #AA69DC

Accessibility & contrast

On white

8.46
#6E26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E26A5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26A5#FFFFFF#000000##FFFFFF
##6E26A51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e26a5;
/* rgb */ color: rgb(110, 38, 165);
/* oklch */ color: oklch(44.4% 0.191 305.5);
Tailwind
colors: {
  custom: {
    50: '#9d68c1',
    500: '#6e26a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e26a5;
$custom-light: #9d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26a5",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 274.016,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.19106,
    "h": 305.5
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#6E26A5
secondary
#8DC364
accent
#E64289
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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