#6C4FC0#6C4FC0

#6C4FC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.169 H 291.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6C4FC0
RGBrgb(108, 79, 192)
HSLhsl(255, 47%, 53%)
HSVhsv(255, 59%, 75%)
CMYKcmyk(43.7%, 58.9%, 0%, 24.7%)
CIE-LABlab(42.13, 39.16, -55.41)
CIE-LCHlch(42.13, 67.85, 305.25°)
OKLaboklab(51.76% 0.0611 -0.158)
OKLCHoklch(51.76% 0.169 291.1)
XYZxyz(18.4921, 12.5853, 51.3138)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FC0 #A3C04F
analogous
#4F6AC0 #6C4FC0 #A44FC0
triadic
#6C4FC0 #C06C4F #4FC06C
tetradic
#6C4FC0 #C04F6A #A3C04F #4FC0A4
square
#6C4FC0 #C04F6A #A3C04F #4FC0A4
split-complementary
#6C4FC0 #C0A44F #6AC04F
monochromatic
#39276D #51379A #6C4FC0 #927CD0 #B7A9E0

Accessibility & contrast

On white

5.97
#6C4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6C4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FC0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FC0#FFFFFF#000000##FFFFFF
##6C4FC01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0761BE
Tritanopia (blue-blind)
#546880
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c4fc0;
/* rgb */ color: rgb(108, 79, 192);
/* oklch */ color: oklch(51.8% 0.169 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c81d4',
    500: '#6c4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fc0;
$custom-light: #9c81d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fc0",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 255.398,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.1694,
    "h": 291.1
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#6C4FC0
secondary
#C1CE9D
accent
#D751B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6C4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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