#6B3DBA#6B3DBA

#6B3DBA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.186 H 295.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6B3DBA
RGBrgb(107, 61, 186)
HSLhsl(262, 51%, 48%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(42.5%, 67.2%, 0%, 27.1%)
CIE-LABlab(37.86, 47.30, -58.83)
CIE-LCHlch(37.86, 75.49, 308.80°)
OKLaboklab(48.49% 0.0802 -0.1681)
OKLCHoklch(48.49% 0.186 295.5)
XYZxyz(16.5927, 10.0081, 47.5024)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DBA #8CBA3D
analogous
#3D4DBA #6B3DBA #A93DBA
triadic
#6B3DBA #BA6B3D #3DBA6B
tetradic
#6B3DBA #BA3D4D #8CBA3D #3DBAA9
square
#6B3DBA #BA3D4D #8CBA3D #3DBAA9
split-complementary
#6B3DBA #BAA93D #4DBA3D
monochromatic
#361F5E #502E8C #6B3DBA #8D67CD #AF95DC

Accessibility & contrast

On white

7.00
#6B3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6B3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3DBA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DBA#FFFFFF#000000##FFFFFF
##6B3DBA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#565B76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3dba;
/* rgb */ color: rgb(107, 61, 186);
/* oklch */ color: oklch(48.5% 0.186 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6b3dba',
    950: '#000000',
  },
}
SCSS
$custom: #6b3dba;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3dba",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 262.08,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.1862,
    "h": 295.5
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#6B3DBA
secondary
#B1C88B
accent
#DA4EA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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