#6826B1#6826B1

#6826B1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.202 H 299.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6826B1
RGBrgb(104, 38, 177)
HSLhsl(268, 65%, 42%)
HSVhsv(268, 79%, 69%)
CMYKcmyk(41.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(32.93, 55.26, -61.55)
CIE-LCHlch(32.93, 82.72, 311.92°)
OKLaboklab(44.7% 0.0992 -0.1761)
OKLCHoklch(44.7% 0.202 299.4)
XYZxyz(14.3358, 7.5034, 42.2795)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826B1 #6FB126
analogous
#262AB1 #6826B1 #AD26B1
triadic
#6826B1 #B16826 #26B168
tetradic
#6826B1 #B1262A #6FB126 #26B1AD
square
#6826B1 #B1262A #6FB126 #26B1AD
split-complementary
#6826B1 #B1AD26 #2AB126
monochromatic
#2D104C #4A1B7F #6826B1 #863FD6 #A671E0

Accessibility & contrast

On white

8.40
#6826B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6826B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826B1
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826B1#FFFFFF#000000##FFFFFF
##6826B11.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#564C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6826b1;
/* rgb */ color: rgb(104, 38, 177);
/* oklch */ color: oklch(44.7% 0.202 299.4);
Tailwind
colors: {
  custom: {
    50: '#9a68c9',
    500: '#6826b1',
    950: '#000000',
  },
}
SCSS
$custom: #6826b1;
$custom-light: #9a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6826b1",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 268.489,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.20207,
    "h": 299.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#6826B1
secondary
#9CC76B
accent
#E84098
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6826B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6826B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva