#6844AB#6844AB

#6844AB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.158 H 296.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6844AB
RGBrgb(104, 68, 171)
HSLhsl(261, 43%, 47%)
HSVhsv(261, 60%, 67%)
CMYKcmyk(39.2%, 60.2%, 0%, 32.9%)
CIE-LABlab(37.87, 38.74, -49.94)
CIE-LCHlch(37.87, 63.20, 307.80°)
OKLaboklab(48.09% 0.0694 -0.142)
OKLCHoklch(48.09% 0.158 296)
XYZxyz(15.1248, 10.0173, 39.6568)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844AB #87AB44
analogous
#4454AB #6844AB #9C44AB
triadic
#6844AB #AB6844 #44AB68
tetradic
#6844AB #AB4454 #87AB44 #44AB9C
square
#6844AB #AB4454 #87AB44 #44AB9C
split-complementary
#6844AB #AB9C44 #54AB44
monochromatic
#332153 #4D337F #6844AB #8869C3 #AB95D5

Accessibility & contrast

On white

6.99
#6844AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6844AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844AB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844AB#FFFFFF#000000##FFFFFF
##6844AB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#585A71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6844ab;
/* rgb */ color: rgb(104, 68, 171);
/* oklch */ color: oklch(48.1% 0.158 296.0);
Tailwind
colors: {
  custom: {
    50: '#9879c5',
    500: '#6844ab',
    950: '#000000',
  },
}
SCSS
$custom: #6844ab;
$custom-light: #9879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6844ab",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 260.971,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.15808,
    "h": 296
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#6844AB
secondary
#AEC08A
accent
#D355A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6844AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6844AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva