#6B3AB8#6B3AB8

#6B3AB8 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.188 H 296.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6B3AB8
RGBrgb(107, 58, 184)
HSLhsl(263, 52%, 47%)
HSVhsv(263, 68%, 72%)
CMYKcmyk(41.8%, 68.5%, 0%, 27.8%)
CIE-LABlab(37.14, 48.33, -58.82)
CIE-LCHlch(37.14, 76.13, 309.41°)
OKLaboklab(47.93% 0.0836 -0.168)
OKLCHoklch(47.93% 0.188 296.4)
XYZxyz(16.2259, 9.6123, 46.3386)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AB8 #87B83A
analogous
#3A48B8 #6B3AB8 #AA3AB8
triadic
#6B3AB8 #B86B3A #3AB86B
tetradic
#6B3AB8 #B83A48 #87B83A #3AB8AA
square
#6B3AB8 #B83A48 #87B83A #3AB8AA
split-complementary
#6B3AB8 #B8AA3A #48B83A
monochromatic
#351D5B #502B89 #6B3AB8 #8C62CD #AE90DC

Accessibility & contrast

On white

7.19
#6B3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6B3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AB8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AB8#FFFFFF#000000##FFFFFF
##6B3AB81.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#575874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3ab8;
/* rgb */ color: rgb(107, 58, 184);
/* oklch */ color: oklch(47.9% 0.188 296.4);
Tailwind
colors: {
  custom: {
    50: '#9c74ce',
    500: '#6b3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ab8;
$custom-light: #9c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ab8",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 263.333,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.18767,
    "h": 296.4
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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