#6A26B3#6A26B3

#6A26B3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.204 H 299.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6A26B3
RGBrgb(106, 38, 179)
HSLhsl(269, 65%, 43%)
HSVhsv(269, 79%, 70%)
CMYKcmyk(40.8%, 78.8%, 0%, 29.8%)
CIE-LABlab(33.36, 56.06, -62.02)
CIE-LCHlch(33.36, 83.61, 312.11°)
OKLaboklab(45.11% 0.1016 -0.1774)
OKLCHoklch(45.11% 0.204 299.8)
XYZxyz(14.7716, 7.7049, 43.3480)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26B3 #6FB326
analogous
#2629B3 #6A26B3 #B026B3
triadic
#6A26B3 #B36A26 #26B36A
tetradic
#6A26B3 #B32629 #6FB326 #26B3B0
square
#6A26B3 #B32629 #6FB326 #26B3B0
split-complementary
#6A26B3 #B3B026 #29B326
monochromatic
#2E114E #4C1B81 #6A26B3 #8840D6 #A872E1

Accessibility & contrast

On white

8.26
#6A26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6A26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26B3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26B3#FFFFFF#000000##FFFFFF
##6A26B31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#594D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a26b3;
/* rgb */ color: rgb(106, 38, 179);
/* oklch */ color: oklch(45.1% 0.204 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c69cb',
    500: '#6a26b3',
    950: '#000000',
  },
}
SCSS
$custom: #6a26b3;
$custom-light: #9c69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26b3",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 268.936,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.20439,
    "h": 299.8
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#6A26B3
secondary
#9CC86D
accent
#E84097
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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