#6B26AE#6B26AE

#6B26AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.199 H 301.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6B26AE
RGBrgb(107, 38, 174)
HSLhsl(270, 64%, 42%)
HSVhsv(270, 78%, 68%)
CMYKcmyk(38.5%, 78.2%, 0%, 31.8%)
CIE-LABlab(33.07, 55.02, -59.52)
CIE-LCHlch(33.07, 81.06, 312.75°)
OKLaboklab(44.8% 0.1044 -0.17)
OKLCHoklch(44.8% 0.199 301.6)
XYZxyz(14.3946, 7.5679, 40.7386)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B26AE #69AE26
analogous
#2726AE #6B26AE #AE26AD
triadic
#6B26AE #AE6B26 #26AE6B
tetradic
#6B26AE #AE2726 #69AE26 #26ADAE
square
#6B26AE #AE2726 #69AE26 #26ADAE
split-complementary
#6B26AE #ADAE26 #26AE27
monochromatic
#2D104A #4C1B7C #6B26AE #8A3DD5 #A86FE0

Accessibility & contrast

On white

8.35
#6B26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B26AE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B26AE#FFFFFF#000000##FFFFFF
##6B26AE1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5C4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b26ae;
/* rgb */ color: rgb(107, 38, 174);
/* oklch */ color: oklch(44.8% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c69c7',
    500: '#6b26ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b26ae;
$custom-light: #9c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b26ae",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 270.441,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.19949,
    "h": 301.6
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#6B26AE
secondary
#97C66A
accent
#E74193
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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