#6B4898#6B4898

#6B4898 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.8% C 0.128 H 302.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6B4898
RGBrgb(107, 72, 152)
HSLhsl(266, 36%, 44%)
HSVhsv(266, 53%, 60%)
CMYKcmyk(29.6%, 52.6%, 0%, 40.4%)
CIE-LABlab(37.89, 32.06, -38.51)
CIE-LCHlch(37.89, 50.11, 309.78°)
OKLaboklab(47.79% 0.0677 -0.1084)
OKLCHoklch(47.79% 0.128 302)
XYZxyz(14.0470, 10.0275, 30.8951)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4898 #759848
analogous
#484D98 #6B4898 #934898
triadic
#6B4898 #986B48 #48986B
tetradic
#6B4898 #98484D #759848 #489893
square
#6B4898 #98484D #759848 #489893
split-complementary
#6B4898 #989348 #4D9848
monochromatic
#312145 #4E346E #6B4898 #8A66B7 #AA90CA

Accessibility & contrast

On white

6.99
#6B4898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6B4898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4898
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4898#FFFFFF#000000##FFFFFF
##6B48981.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#635769
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b4898;
/* rgb */ color: rgb(107, 72, 152);
/* oklch */ color: oklch(47.8% 0.128 302.0);
Tailwind
colors: {
  custom: {
    50: '#987cb7',
    500: '#6b4898',
    950: '#000000',
  },
}
SCSS
$custom: #6b4898;
$custom-light: #987cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4898",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 266.25,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.12782,
    "h": 302
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#6B4898
secondary
#A1B686
accent
#CC5C9B
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6B4898

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

Preview Lab → · Contrast checker → · Palette generator →

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