#6B4BC5#6B4BC5

#6B4BC5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.181 H 290.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6B4BC5
RGBrgb(107, 75, 197)
HSLhsl(256, 51%, 53%)
HSVhsv(256, 62%, 77%)
CMYKcmyk(45.7%, 61.9%, 0%, 22.7%)
CIE-LABlab(41.51, 42.67, -59.33)
CIE-LCHlch(41.51, 73.07, 305.72°)
OKLaboklab(51.4% 0.064 -0.1695)
OKLCHoklch(51.4% 0.181 290.7)
XYZxyz(18.6547, 12.1885, 54.1822)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BC5 #A5C54B
analogous
#4B68C5 #6B4BC5 #A84BC5
triadic
#6B4BC5 #C56B4B #4BC56B
tetradic
#6B4BC5 #C54B68 #A5C54B #4BC5A8
square
#6B4BC5 #C54B68 #A5C54B #4BC5A8
split-complementary
#6B4BC5 #C5A84B #68C54B
monochromatic
#392471 #50339F #6B4BC5 #9179D4 #B7A8E3

Accessibility & contrast

On white

6.11
#6B4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6B4BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BC5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BC5#FFFFFF#000000##FFFFFF
##6B4BC51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#506781
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b4bc5;
/* rgb */ color: rgb(107, 75, 197);
/* oklch */ color: oklch(51.4% 0.181 290.7);
Tailwind
colors: {
  custom: {
    50: '#9c7fd7',
    500: '#6b4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bc5;
$custom-light: #9c7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bc5",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 255.738,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.18122,
    "h": 290.7
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#6B4BC5
secondary
#C2D09C
accent
#DB4DB6
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6B4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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