#6C4DB2#6C4DB2

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

Color values

HEX#6C4DB2
RGBrgb(108, 77, 178)
HSLhsl(258, 40%, 50%)
HSVhsv(258, 57%, 70%)
CMYKcmyk(39.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(40.75, 36.39, -49.43)
CIE-LCHlch(40.75, 61.38, 306.36°)
OKLaboklab(50.45% 0.0636 -0.1404)
OKLCHoklch(50.45% 0.154 294.4)
XYZxyz(16.8720, 11.7099, 43.4821)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DB2 #93B24D
analogous
#4D60B2 #6C4DB2 #9F4DB2
triadic
#6C4DB2 #B26C4D #4DB26C
tetradic
#6C4DB2 #B24D60 #93B24D #4DB29F
square
#6C4DB2 #B24D60 #93B24D #4DB29F
split-complementary
#6C4DB2 #B29F4D #60B24D
monochromatic
#38285D #523B87 #6C4DB2 #8F78C4 #B3A2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C4DB2#FFFFFF#000000##FFFFFF
##6C4DB21.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)
#1961B5
Deuteranopia (green-blind)
#245EB0
Tritanopia (blue-blind)
#5A6278
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c4db2;
/* rgb */ color: rgb(108, 77, 178);
/* oklch */ color: oklch(50.4% 0.154 294.4);
Tailwind
colors: {
  custom: {
    50: '#9a80ca',
    500: '#6c4db2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4db2;
$custom-light: #9a80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4db2",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 258.416,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.15416,
    "h": 294.4
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#6C4DB2
secondary
#B6C497
accent
#CF58AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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