#6C4ABC#6C4ABC

#6C4ABC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.171 H 293.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6C4ABC
RGBrgb(108, 74, 188)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 61%, 74%)
CMYKcmyk(42.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.76, 40.91, -55.29)
CIE-LCHlch(40.76, 68.78, 306.50°)
OKLaboklab(50.67% 0.067 -0.1577)
OKLCHoklch(50.67% 0.171 293)
XYZxyz(17.7078, 11.7161, 48.8956)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4ABC #9ABC4A
analogous
#4A61BC #6C4ABC #A54ABC
triadic
#6C4ABC #BC6C4A #4ABC6C
tetradic
#6C4ABC #BC4A61 #9ABC4A #4ABCA5
square
#6C4ABC #BC4A61 #9ABC4A #4ABCA5
split-complementary
#6C4ABC #BCA54A #61BC4A
monochromatic
#392666 #523693 #6C4ABC #9077CD #B5A3DD

Accessibility & contrast

On white

6.28
#6C4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6C4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4ABC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4ABC#FFFFFF#000000##FFFFFF
##6C4ABC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#56647C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c4abc;
/* rgb */ color: rgb(108, 74, 188);
/* oklch */ color: oklch(50.7% 0.171 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ed1',
    500: '#6c4abc',
    950: '#000000',
  },
}
SCSS
$custom: #6c4abc;
$custom-light: #9c7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4abc",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 257.895,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.1713,
    "h": 293
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#6C4ABC
secondary
#BBCA98
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6C4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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