#6B3AB9#6B3AB9

#6B3AB9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.189 H 296.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6B3AB9
RGBrgb(107, 58, 185)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 69%, 73%)
CMYKcmyk(42.2%, 68.6%, 0%, 27.5%)
CIE-LABlab(37.21, 48.59, -59.29)
CIE-LCHlch(37.21, 76.66, 309.34°)
OKLaboklab(48.01% 0.0834 -0.1694)
OKLCHoklch(48.01% 0.189 296.2)
XYZxyz(16.3311, 9.6544, 46.8926)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AB9 #88B93A
analogous
#3A48B9 #6B3AB9 #AB3AB9
triadic
#6B3AB9 #B96B3A #3AB96B
tetradic
#6B3AB9 #B93A48 #88B93A #3AB9AB
square
#6B3AB9 #B93A48 #88B93A #3AB9AB
split-complementary
#6B3AB9 #B9AB3A #48B93A
monochromatic
#351D5C #502B8A #6B3AB9 #8C62CE #AE91DC

Accessibility & contrast

On white

7.16
#6B3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AB9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AB9#FFFFFF#000000##FFFFFF
##6B3AB91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#575975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3ab9;
/* rgb */ color: rgb(107, 58, 185);
/* oklch */ color: oklch(48.0% 0.189 296.2);
Tailwind
colors: {
  custom: {
    50: '#9c74cf',
    500: '#6b3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ab9;
$custom-light: #9c74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ab9",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 263.15,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.18882,
    "h": 296.2
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#6B3AB9
secondary
#AFC787
accent
#DC4CA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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