#6A26B1#6A26B1

#6A26B1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.202 H 300.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6A26B1
RGBrgb(106, 38, 177)
HSLhsl(269, 65%, 42%)
HSVhsv(269, 79%, 69%)
CMYKcmyk(40.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(33.19, 55.58, -61.12)
CIE-LCHlch(33.19, 82.61, 312.28°)
OKLaboklab(44.93% 0.1022 -0.1747)
OKLCHoklch(44.93% 0.202 300.3)
XYZxyz(14.5708, 7.6246, 42.2905)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26B1 #6DB126
analogous
#2627B1 #6A26B1 #B026B1
triadic
#6A26B1 #B16A26 #26B16A
tetradic
#6A26B1 #B12627 #6DB126 #26B1B0
square
#6A26B1 #B12627 #6DB126 #26B1B0
split-complementary
#6A26B1 #B1B026 #27B126
monochromatic
#2E104C #4C1B7F #6A26B1 #883FD6 #A771E0

Accessibility & contrast

On white

8.32
#6A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6A26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26B1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26B1#FFFFFF#000000##FFFFFF
##6A26B11.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#594C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a26b1;
/* rgb */ color: rgb(106, 38, 177);
/* oklch */ color: oklch(44.9% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#9b69c9',
    500: '#6a26b1',
    950: '#000000',
  },
}
SCSS
$custom: #6a26b1;
$custom-light: #9b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26b1",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 269.353,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.20236,
    "h": 300.3
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#6A26B1
secondary
#9AC76B
accent
#E84096
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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