#6C4EAF#6C4EAF

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

Color values

HEX#6C4EAF
RGBrgb(108, 78, 175)
HSLhsl(259, 38%, 50%)
HSVhsv(259, 55%, 69%)
CMYKcmyk(38.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.79, 34.97, -47.61)
CIE-LCHlch(40.79, 59.07, 306.30°)
OKLaboklab(50.41% 0.0623 -0.1351)
OKLCHoklch(50.41% 0.149 294.8)
XYZxyz(16.6446, 11.7317, 41.9366)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EAF #91AF4E
analogous
#4E60AF #6C4EAF #9D4EAF
triadic
#6C4EAF #AF6C4E #4EAF6C
tetradic
#6C4EAF #AF4E60 #91AF4E #4EAF9D
square
#6C4EAF #AF4E60 #91AF4E #4EAF9D
split-complementary
#6C4EAF #AF9D4E #60AF4E
monochromatic
#38285A #523B85 #6C4EAF #8F78C3 #B2A2D6

Accessibility & contrast

On white

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

On black

3.35
#6C4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C4EAF#FFFFFF#000000##FFFFFF
##6C4EAF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#5B6277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c4eaf;
/* rgb */ color: rgb(108, 78, 175);
/* oklch */ color: oklch(50.4% 0.149 294.8);
Tailwind
colors: {
  custom: {
    50: '#9a80c7',
    500: '#6c4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4eaf;
$custom-light: #9a80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4eaf",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 258.557,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.14872,
    "h": 294.8
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#6C4EAF
secondary
#B5C396
accent
#CE5AAA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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