#6B4499#6B4499

#6B4499 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.2% C 0.136 H 302.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B4499
RGBrgb(107, 68, 153)
HSLhsl(268, 38%, 43%)
HSVhsv(268, 56%, 60%)
CMYKcmyk(30.1%, 55.6%, 0%, 40%)
CIE-LABlab(37.04, 34.67, -40.47)
CIE-LCHlch(37.04, 53.29, 310.59°)
OKLaboklab(47.18% 0.0733 -0.1141)
OKLCHoklch(47.18% 0.136 302.7)
XYZxyz(13.8790, 9.5600, 31.2449)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4499 #729944
analogous
#444799 #6B4499 #954499
triadic
#6B4499 #996B44 #44996B
tetradic
#6B4499 #994447 #729944 #449995
square
#6B4499 #994447 #729944 #449995
split-complementary
#6B4499 #999544 #479944
monochromatic
#301E44 #4D316F #6B4499 #8961B9 #A98CCC

Accessibility & contrast

On white

7.21
#6B4499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B4499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B4499
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4499#FFFFFF#000000##FFFFFF
##6B44991.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#625468
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b4499;
/* rgb */ color: rgb(107, 68, 153);
/* oklch */ color: oklch(47.2% 0.136 302.7);
Tailwind
colors: {
  custom: {
    50: '#9879b7',
    500: '#6b4499',
    950: '#000000',
  },
}
SCSS
$custom: #6b4499;
$custom-light: #9879b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4499",
  "rgb": {
    "r": 107,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 267.529,
    "s": 38.462,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.13566,
    "h": 302.7
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#6B4499
secondary
#9FB782
accent
#CE5999
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6B4499

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

Preview Lab → · Contrast checker → · Palette generator →

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