#6B4CBE#6B4CBE

#6B4CBE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.171 H 291.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6B4CBE
RGBrgb(107, 76, 190)
HSLhsl(256, 47%, 52%)
HSVhsv(256, 60%, 75%)
CMYKcmyk(43.7%, 60%, 0%, 25.5%)
CIE-LABlab(41.23, 40.11, -55.70)
CIE-LCHlch(41.23, 68.64, 305.76°)
OKLaboklab(51.04% 0.0633 -0.1589)
OKLCHoklch(51.04% 0.171 291.7)
XYZxyz(17.9395, 12.0118, 50.0785)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CBE #9FBE4C
analogous
#4C66BE #6B4CBE #A44CBE
triadic
#6B4CBE #BE6B4C #4CBE6B
tetradic
#6B4CBE #BE4C66 #9FBE4C #4CBEA4
square
#6B4CBE #BE4C66 #9FBE4C #4CBEA4
split-complementary
#6B4CBE #BEA44C #66BE4C
monochromatic
#382669 #513796 #6B4CBE #9079CE #B5A6DF

Accessibility & contrast

On white

6.17
#6B4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6B4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CBE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CBE#FFFFFF#000000##FFFFFF
##6B4CBE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#53667E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b4cbe;
/* rgb */ color: rgb(107, 76, 190);
/* oklch */ color: oklch(51.0% 0.171 291.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fd2',
    500: '#6b4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cbe;
$custom-light: #9b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cbe",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 256.316,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.17102,
    "h": 291.7
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#6B4CBE
secondary
#BECC9A
accent
#D651B2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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