#6E26AF#6E26AF

#6E26AF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.201 H 302.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6E26AF
RGBrgb(110, 38, 175)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(37.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.55, 55.76, -59.30)
CIE-LCHlch(33.55, 81.40, 313.24°)
OKLaboklab(45.25% 0.1085 -0.1692)
OKLCHoklch(45.25% 0.201 302.7)
XYZxyz(14.8595, 7.7963, 41.2711)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E26AF #67AF26
analogous
#2A26AF #6E26AF #AF26AC
triadic
#6E26AF #AF6E26 #26AF6E
tetradic
#6E26AF #AF2A26 #67AF26 #26ACAF
square
#6E26AF #AF2A26 #67AF26 #26ACAF
split-complementary
#6E26AF #ACAF26 #26AF2A
monochromatic
#2F104A #4E1B7D #6E26AF #8D3DD5 #AB70E0

Accessibility & contrast

On white

8.21
#6E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E26AF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E26AF#FFFFFF#000000##FFFFFF
##6E26AF1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#604A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e26af;
/* rgb */ color: rgb(110, 38, 175);
/* oklch */ color: oklch(45.3% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e69c8',
    500: '#6e26af',
    950: '#000000',
  },
}
SCSS
$custom: #6e26af;
$custom-light: #9e69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e26af",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 271.533,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.20104,
    "h": 302.7
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#6E26AF
secondary
#96C76A
accent
#E74090
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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