#6B4E95#6B4E95

#6B4E95 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.7% C 0.114 H 301.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6B4E95
RGBrgb(107, 78, 149)
HSLhsl(265, 31%, 45%)
HSVhsv(265, 48%, 58%)
CMYKcmyk(28.2%, 47.7%, 0%, 41.6%)
CIE-LABlab(39.15, 27.68, -34.70)
CIE-LCHlch(39.15, 44.39, 308.58°)
OKLaboklab(48.67% 0.0588 -0.0973)
OKLCHoklch(48.67% 0.114 301.1)
XYZxyz(14.2114, 10.7445, 29.7531)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E95 #78954E
analogous
#4E5495 #6B4E95 #8F4E95
triadic
#6B4E95 #956B4E #4E956B
tetradic
#6B4E95 #954E54 #78954E #4E958F
square
#6B4E95 #954E54 #78954E #4E958F
split-complementary
#6B4E95 #958F4E #54954E
monochromatic
#312445 #4E396D #6B4E95 #8A6DB3 #AA96C8

Accessibility & contrast

On white

6.67
#6B4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6B4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E95
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E95#FFFFFF#000000##FFFFFF
##6B4E951.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#635B6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b4e95;
/* rgb */ color: rgb(107, 78, 149);
/* oklch */ color: oklch(48.7% 0.114 301.1);
Tailwind
colors: {
  custom: {
    50: '#9780b4',
    500: '#6b4e95',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e95;
$custom-light: #9780b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e95",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 264.507,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.1137,
    "h": 301.1
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#6B4E95
secondary
#A3B48A
accent
#C7609D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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