#6C4BCA#6C4BCA

#6C4BCA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.187 H 290.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6C4BCA
RGBrgb(108, 75, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 63%, 79%)
CMYKcmyk(46.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.97, 44.29, -61.47)
CIE-LCHlch(41.97, 75.76, 305.77°)
OKLaboklab(51.87% 0.065 -0.1758)
OKLCHoklch(51.87% 0.187 290.3)
XYZxyz(19.3581, 12.4838, 57.2553)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BCA #A9CA4B
analogous
#4B6ACA #6C4BCA #AC4BCA
triadic
#6C4BCA #CA6C4B #4BCA6C
tetradic
#6C4BCA #CA4B6A #A9CA4B #4BCAAC
square
#6C4BCA #CA4B6A #A9CA4B #4BCAAC
split-complementary
#6C4BCA #CAAC4B #6ACA4B
monochromatic
#392377 #5031A7 #6C4BCA #937AD8 #B9AAE6

Accessibility & contrast

On white

6.01
#6C4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6C4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BCA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BCA#FFFFFF#000000##FFFFFF
##6C4BCA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#4F6983
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c4bca;
/* rgb */ color: rgb(108, 75, 202);
/* oklch */ color: oklch(51.9% 0.187 290.3);
Tailwind
colors: {
  custom: {
    50: '#9d7fdb',
    500: '#6c4bca',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bca;
$custom-light: #9d7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bca",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 255.591,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.18745,
    "h": 290.3
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#6C4BCA
secondary
#C5D39D
accent
#DE4AB7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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