#6B3DBB#6B3DBB

#6B3DBB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.187 H 295.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6B3DBB
RGBrgb(107, 61, 187)
HSLhsl(262, 51%, 49%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(42.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(37.93, 47.57, -59.29)
CIE-LCHlch(37.93, 76.02, 308.74°)
OKLaboklab(48.57% 0.08 -0.1694)
OKLCHoklch(48.57% 0.187 295.3)
XYZxyz(16.6994, 10.0507, 48.0642)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DBB #8DBB3D
analogous
#3D4EBB #6B3DBB #AA3DBB
triadic
#6B3DBB #BB6B3D #3DBB6B
tetradic
#6B3DBB #BB3D4E #8DBB3D #3DBBAA
square
#6B3DBB #BB3D4E #8DBB3D #3DBBAA
split-complementary
#6B3DBB #BBAA3D #4EBB3D
monochromatic
#361F5F #512E8D #6B3DBB #8D68CE #B096DD

Accessibility & contrast

On white

6.98
#6B3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6B3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3DBB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DBB#FFFFFF#000000##FFFFFF
##6B3DBB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#565B77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3dbb;
/* rgb */ color: rgb(107, 61, 187);
/* oklch */ color: oklch(48.6% 0.187 295.3);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6b3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #6b3dbb;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3dbb",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 261.905,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.18738,
    "h": 295.3
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#6B3DBB
secondary
#B2C88C
accent
#DA4EA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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