#6B5097#6B5097

#6B5097 is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.2% C 0.113 H 299.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6B5097
RGBrgb(107, 80, 151)
HSLhsl(263, 31%, 45%)
HSVhsv(263, 47%, 59%)
CMYKcmyk(29.1%, 47%, 0%, 40.8%)
CIE-LABlab(39.74, 26.99, -34.96)
CIE-LCHlch(39.74, 44.17, 307.67°)
OKLaboklab(49.15% 0.0562 -0.0981)
OKLCHoklch(49.15% 0.113 299.8)
XYZxyz(14.5167, 11.0974, 30.6494)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5097 #7C9750
analogous
#505897 #6B5097 #8E5097
triadic
#6B5097 #976B50 #50976B
tetradic
#6B5097 #975058 #7C9750 #50978E
square
#6B5097 #975058 #7C9750 #50978E
split-complementary
#6B5097 #978E50 #589750
monochromatic
#322647 #4F3B6F #6B5097 #8A71B4 #AB99C9

Accessibility & contrast

On white

6.52
#6B5097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6B5097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5097
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5097#FFFFFF#000000##FFFFFF
##6B50971.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D9A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#625D6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b5097;
/* rgb */ color: rgb(107, 80, 151);
/* oklch */ color: oklch(49.2% 0.113 299.8);
Tailwind
colors: {
  custom: {
    50: '#9781b6',
    500: '#6b5097',
    950: '#000000',
  },
}
SCSS
$custom: #6b5097;
$custom-light: #9781b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5097",
  "rgb": {
    "r": 107,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 262.817,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49153,
    "c": 0.11303,
    "h": 299.8
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#6B5097
secondary
#A6B68D
accent
#C761A0
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B5097

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

Preview Lab → · Contrast checker → · Palette generator →

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