#6C4BD4#6C4BD4

#6C4BD4 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.200 H 288.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6C4BD4
RGBrgb(108, 75, 212)
HSLhsl(254, 61%, 56%)
HSVhsv(254, 65%, 83%)
CMYKcmyk(49.1%, 64.6%, 0%, 16.9%)
CIE-LABlab(42.72, 47.13, -66.02)
CIE-LCHlch(42.72, 81.12, 305.52°)
OKLaboklab(52.65% 0.064 -0.1892)
OKLCHoklch(52.65% 0.2 288.7)
XYZxyz(20.5806, 12.9729, 63.6942)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BD4 #B3D44B
analogous
#4B6FD4 #6C4BD4 #B14BD4
triadic
#6C4BD4 #D46C4B #4BD46C
tetradic
#6C4BD4 #D44B6F #B3D44B #4BD4B1
square
#6C4BD4 #D44B6F #B3D44B #4BD4B1
split-complementary
#6C4BD4 #D4B14B #6FD44B
monochromatic
#382085 #4D2CB6 #6C4BD4 #947CE0 #BDAEEC

Accessibility & contrast

On white

5.84
#6C4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6C4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BD4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BD4#FFFFFF#000000##FFFFFF
##6C4BD41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#486C89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4bd4;
/* rgb */ color: rgb(108, 75, 212);
/* oklch */ color: oklch(52.6% 0.200 288.7);
Tailwind
colors: {
  custom: {
    50: '#9e7fe2',
    500: '#6c4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bd4;
$custom-light: #9e7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bd4",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 254.453,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.19973,
    "h": 288.7
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#6C4BD4
secondary
#CCDAA1
accent
#E543BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6C4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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