#6C4BD5#6C4BD5

#6C4BD5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.201 H 288.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6C4BD5
RGBrgb(108, 75, 213)
HSLhsl(254, 62%, 56%)
HSVhsv(254, 65%, 84%)
CMYKcmyk(49.3%, 64.8%, 0%, 16.5%)
CIE-LABlab(42.80, 47.42, -66.47)
CIE-LCHlch(42.80, 81.65, 305.50°)
OKLaboklab(52.72% 0.0639 -0.1905)
OKLCHoklch(52.72% 0.201 288.5)
XYZxyz(20.7072, 13.0235, 64.3606)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BD5 #B4D54B
analogous
#4B6FD5 #6C4BD5 #B14BD5
triadic
#6C4BD5 #D56C4B #4BD56C
tetradic
#6C4BD5 #D54B6F #B4D54B #4BD5B1
square
#6C4BD5 #D54B6F #B4D54B #4BD5B1
split-complementary
#6C4BD5 #D5B14B #6FD54B
monochromatic
#381F86 #4D2BB8 #6C4BD5 #957DE1 #BDAEEC

Accessibility & contrast

On white

5.83
#6C4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6C4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BD5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BD5#FFFFFF#000000##FFFFFF
##6C4BD51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#486D89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4bd5;
/* rgb */ color: rgb(108, 75, 213);
/* oklch */ color: oklch(52.7% 0.201 288.5);
Tailwind
colors: {
  custom: {
    50: '#9f7fe3',
    500: '#6c4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bd5;
$custom-light: #9f7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bd5",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 254.348,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.20095,
    "h": 288.5
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#6C4BD5
secondary
#CDDAA2
accent
#E543BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6C4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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