#6C46BD#6C46BD

#6C46BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.178 H 293.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6C46BD
RGBrgb(108, 70, 189)
HSLhsl(259, 47%, 51%)
HSVhsv(259, 63%, 74%)
CMYKcmyk(42.9%, 63%, 0%, 25.9%)
CIE-LABlab(39.99, 43.44, -57.13)
CIE-LCHlch(39.99, 71.77, 307.25°)
OKLaboklab(50.13% 0.0715 -0.1631)
OKLCHoklch(50.13% 0.178 293.7)
XYZxyz(17.5573, 11.2421, 49.3791)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C46BD #97BD46
analogous
#465BBD #6C46BD #A746BD
triadic
#6C46BD #BD6C46 #46BD6C
tetradic
#6C46BD #BD465B #97BD46 #46BDA7
square
#6C46BD #BD465B #97BD46 #46BDA7
split-complementary
#6C46BD #BDA746 #5BBD46
monochromatic
#392465 #523492 #6C46BD #9073CD #B4A0DD

Accessibility & contrast

On white

6.46
#6C46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6C46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C46BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C46BD#FFFFFF#000000##FFFFFF
##6C46BD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#56617B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c46bd;
/* rgb */ color: rgb(108, 70, 189);
/* oklch */ color: oklch(50.1% 0.178 293.7);
Tailwind
colors: {
  custom: {
    50: '#9c7bd2',
    500: '#6c46bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c46bd;
$custom-light: #9c7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c46bd",
  "rgb": {
    "r": 108,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 259.16,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.17804,
    "h": 293.7
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#6C46BD
secondary
#B9CA95
accent
#D751AC
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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