#6A26A8#6A26A8

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

Color values

HEX#6A26A8
RGBrgb(106, 38, 168)
HSLhsl(271, 63%, 40%)
HSVhsv(271, 77%, 66%)
CMYKcmyk(36.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.43, 53.43, -56.97)
CIE-LCHlch(32.43, 78.10, 313.16°)
OKLaboklab(44.17% 0.1045 -0.1625)
OKLCHoklch(44.17% 0.193 302.8)
XYZxyz(13.7032, 7.2775, 37.7210)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26A8 #64A826
analogous
#2926A8 #6A26A8 #A826A5
triadic
#6A26A8 #A86A26 #26A86A
tetradic
#6A26A8 #A82926 #64A826 #26A5A8
square
#6A26A8 #A82926 #64A826 #26A5A8
split-complementary
#6A26A8 #A5A826 #26A829
monochromatic
#2B0F44 #4B1B76 #6A26A8 #8939D2 #A76BDE

Accessibility & contrast

On white

8.55
#6A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A26A8
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26A8#FFFFFF#000000##FFFFFF
##6A26A81.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#5D4866
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a26a8;
/* rgb */ color: rgb(106, 38, 168);
/* oklch */ color: oklch(44.2% 0.193 302.8);
Tailwind
colors: {
  custom: {
    50: '#9b68c3',
    500: '#6a26a8',
    950: '#000000',
  },
}
SCSS
$custom: #6a26a8;
$custom-light: #9b68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26a8",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 271.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.19322,
    "h": 302.8
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#6A26A8
secondary
#93C466
accent
#E64290
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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