#6B3D9D#6B3D9D

#6B3D9D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.152 H 303.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6B3D9D
RGBrgb(107, 61, 157)
HSLhsl(269, 44%, 43%)
HSVhsv(269, 61%, 62%)
CMYKcmyk(31.8%, 61.1%, 0%, 38.4%)
CIE-LABlab(35.79, 39.68, -44.89)
CIE-LCHlch(35.79, 59.92, 311.47°)
OKLaboklab(46.34% 0.0826 -0.1271)
OKLCHoklch(46.34% 0.152 303)
XYZxyz(13.8166, 8.8976, 32.8813)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3D9D #6F9D3D
analogous
#3D3F9D #6B3D9D #9B3D9D
triadic
#6B3D9D #9D6B3D #3D9D6B
tetradic
#6B3D9D #9D3D3F #6F9D3D #3D9D9B
square
#6B3D9D #9D3D3F #6F9D3D #3D9D9B
split-complementary
#6B3D9D #9D9B3D #3F9D3D
monochromatic
#2F1B45 #4D2C71 #6B3D9D #8959BE #A985D0

Accessibility & contrast

On white

7.56
#6B3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6B3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3D9D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3D9D#FFFFFF#000000##FFFFFF
##6B3D9D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#615167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b3d9d;
/* rgb */ color: rgb(107, 61, 157);
/* oklch */ color: oklch(46.3% 0.152 303.0);
Tailwind
colors: {
  custom: {
    50: '#9975ba',
    500: '#6b3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6b3d9d;
$custom-light: #9975ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3d9d",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 268.75,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.1516,
    "h": 303
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#6B3D9D
secondary
#9CBA7C
accent
#D45497
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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