#6B4896#6B4896

#6B4896 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.125 H 302.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6B4896
RGBrgb(107, 72, 150)
HSLhsl(267, 35%, 44%)
HSVhsv(267, 52%, 59%)
CMYKcmyk(28.7%, 52%, 0%, 41.2%)
CIE-LABlab(37.77, 31.54, -37.48)
CIE-LCHlch(37.77, 48.99, 310.08°)
OKLaboklab(47.67% 0.0675 -0.1054)
OKLCHoklch(47.67% 0.125 302.6)
XYZxyz(13.8846, 9.9625, 30.0397)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4896 #739648
analogous
#484C96 #6B4896 #924896
triadic
#6B4896 #966B48 #48966B
tetradic
#6B4896 #96484C #739648 #489692
square
#6B4896 #96484C #739648 #489692
split-complementary
#6B4896 #969248 #4C9648
monochromatic
#302043 #4E346D #6B4896 #8A66B5 #A98FC9

Accessibility & contrast

On white

7.02
#6B4896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6B4896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B4896
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4896#FFFFFF#000000##FFFFFF
##6B48961.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#635668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b4896;
/* rgb */ color: rgb(107, 72, 150);
/* oklch */ color: oklch(47.7% 0.125 302.6);
Tailwind
colors: {
  custom: {
    50: '#987cb5',
    500: '#6b4896',
    950: '#000000',
  },
}
SCSS
$custom: #6b4896;
$custom-light: #987cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4896",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 266.923,
    "s": 35.135,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.1252,
    "h": 302.6
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#6B4896
secondary
#9FB585
accent
#CB5D9A
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6B4896

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

Preview Lab → · Contrast checker → · Palette generator →

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