#6E26A8#6E26A8

#6E26A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.194 H 304.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6E26A8
RGBrgb(110, 38, 168)
HSLhsl(273, 63%, 40%)
HSVhsv(273, 77%, 66%)
CMYKcmyk(34.5%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.98, 54.12, -56.04)
CIE-LCHlch(32.98, 77.91, 314.00°)
OKLaboklab(44.67% 0.1103 -0.1596)
OKLCHoklch(44.67% 0.194 304.6)
XYZxyz(14.1898, 7.5284, 37.7438)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26A8 #60A826
analogous
#2D26A8 #6E26A8 #A826A1
triadic
#6E26A8 #A86E26 #26A86E
tetradic
#6E26A8 #A82D26 #60A826 #26A1A8
square
#6E26A8 #A82D26 #60A826 #26A1A8
split-complementary
#6E26A8 #A1A826 #26A82D
monochromatic
#2D0F44 #4D1B76 #6E26A8 #8E39D2 #AA6BDE

Accessibility & contrast

On white

8.38
#6E26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6E26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26A8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26A8#FFFFFF#000000##FFFFFF
##6E26A81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#634766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e26a8;
/* rgb */ color: rgb(110, 38, 168);
/* oklch */ color: oklch(44.7% 0.194 304.6);
Tailwind
colors: {
  custom: {
    50: '#9d69c3',
    500: '#6e26a8',
    950: '#000000',
  },
}
SCSS
$custom: #6e26a8;
$custom-light: #9d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26a8",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 273.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.19405,
    "h": 304.6
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#6E26A8
secondary
#90C466
accent
#E6428B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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