#6C4BD9#6C4BD9

#6C4BD9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.206 H 287.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6C4BD9
RGBrgb(108, 75, 217)
HSLhsl(254, 65%, 57%)
HSVhsv(254, 65%, 85%)
CMYKcmyk(50.2%, 65.4%, 0%, 14.9%)
CIE-LABlab(43.11, 48.56, -68.26)
CIE-LCHlch(43.11, 83.77, 305.43°)
OKLaboklab(53.04% 0.0634 -0.1958)
OKLCHoklch(53.04% 0.206 287.9)
XYZxyz(21.2211, 13.2291, 67.0675)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BD9 #B8D94B
analogous
#4B71D9 #6C4BD9 #B34BD9
triadic
#6C4BD9 #D96C4B #4BD96C
tetradic
#6C4BD9 #D94B71 #B8D94B #4BD9B3
square
#6C4BD9 #D94B71 #B8D94B #4BD9B3
split-complementary
#6C4BD9 #D9B34B #71D94B
monochromatic
#371E8C #4B28BF #6C4BD9 #957EE4 #BFB0EE

Accessibility & contrast

On white

5.76
#6C4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6C4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BD9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BD9#FFFFFF#000000##FFFFFF
##6C4BD91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#456E8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c4bd9;
/* rgb */ color: rgb(108, 75, 217);
/* oklch */ color: oklch(53.0% 0.206 287.9);
Tailwind
colors: {
  custom: {
    50: '#9f7fe6',
    500: '#6c4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bd9;
$custom-light: #9f7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bd9",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 253.944,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.2058,
    "h": 287.9
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#6C4BD9
secondary
#CFDDA3
accent
#E840C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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