#6B4C8A#6B4C8A

#6B4C8A is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.7% C 0.102 H 305.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6B4C8A
RGBrgb(107, 76, 138)
HSLhsl(270, 29%, 42%)
HSVhsv(270, 45%, 54%)
CMYKcmyk(22.5%, 44.9%, 0%, 45.9%)
CIE-LABlab(38.07, 26.08, -29.72)
CIE-LCHlch(38.07, 39.54, 311.26°)
OKLaboklab(47.68% 0.06 -0.0828)
OKLCHoklch(47.68% 0.102 305.9)
XYZxyz(13.2344, 10.1298, 25.2979)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4C8A #6B8A4C
analogous
#4C4C8A #6B4C8A #8A4C8A
triadic
#6B4C8A #8A6B4C #4C8A6B
tetradic
#6B4C8A #8A4C4C #6B8A4C #4C8A8A
square
#6B4C8A #8A4C4C #6B8A4C #4C8A8A
split-complementary
#6B4C8A #8A8A4C #4C8A4C
monochromatic
#2E213B #4C3663 #6B4C8A #8A68AC #A88FC1

Accessibility & contrast

On white

6.94
#6B4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6B4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4C8A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4C8A#FFFFFF#000000##FFFFFF
##6B4C8A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#665664
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b4c8a;
/* rgb */ color: rgb(107, 76, 138);
/* oklch */ color: oklch(47.7% 0.102 305.9);
Tailwind
colors: {
  custom: {
    50: '#977eac',
    500: '#6b4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b4c8a;
$custom-light: #977eac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4c8a",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.1023,
    "h": 305.9
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#6B4C8A
secondary
#99AE84
accent
#C56394
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #6B4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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