#6B5397#6B5397

#6B5397 is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.7% C 0.108 H 298.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6B5397
RGBrgb(107, 83, 151)
HSLhsl(261, 29%, 46%)
HSVhsv(261, 45%, 59%)
CMYKcmyk(29.1%, 45%, 0%, 40.8%)
CIE-LABlab(40.49, 25.16, -33.79)
CIE-LCHlch(40.49, 42.13, 306.68°)
OKLaboklab(49.71% 0.0518 -0.0947)
OKLCHoklch(49.71% 0.108 298.7)
XYZxyz(14.7413, 11.5466, 30.7242)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5397 #7F9753
analogous
#535D97 #6B5397 #8D5397
triadic
#6B5397 #976B53 #53976B
tetradic
#6B5397 #97535D #7F9753 #53978D
square
#6B5397 #97535D #7F9753 #53978D
split-complementary
#6B5397 #978D53 #5D9753
monochromatic
#332848 #4F3D70 #6B5397 #8A74B3 #AC9CC9

Accessibility & contrast

On white

6.35
#6B5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6B5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5397
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5397#FFFFFF#000000##FFFFFF
##6B53971.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#625F6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b5397;
/* rgb */ color: rgb(107, 83, 151);
/* oklch */ color: oklch(49.7% 0.108 298.7);
Tailwind
colors: {
  custom: {
    50: '#9784b6',
    500: '#6b5397',
    950: '#000000',
  },
}
SCSS
$custom: #6b5397;
$custom-light: #9784b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5397",
  "rgb": {
    "r": 107,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 261.176,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.10792,
    "h": 298.7
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#6B5397
secondary
#A8B690
accent
#C562A2
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6B5397

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

Preview Lab → · Contrast checker → · Palette generator →

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