#6B3EB7#6B3EB7

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

Color values

HEX#6B3EB7
RGBrgb(107, 62, 183)
HSLhsl(262, 49%, 48%)
HSVhsv(262, 66%, 72%)
CMYKcmyk(41.5%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.82, 45.97, -57.12)
CIE-LCHlch(37.82, 73.32, 308.83°)
OKLaboklab(48.4% 0.0795 -0.163)
OKLCHoklch(48.4% 0.181 296)
XYZxyz(16.3310, 9.9896, 45.8583)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EB7 #8AB73E
analogous
#3E4DB7 #6B3EB7 #A73EB7
triadic
#6B3EB7 #B76B3E #3EB76B
tetradic
#6B3EB7 #B73E4D #8AB73E #3EB7A7
square
#6B3EB7 #B73E4D #8AB73E #3EB7A7
split-complementary
#6B3EB7 #B7A73E #4DB73E
monochromatic
#361F5C #502F89 #6B3EB7 #8C67CB #AF94DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B3EB7#FFFFFF#000000##FFFFFF
##6B3EB71.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)
#005ABB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#575A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3eb7;
/* rgb */ color: rgb(107, 62, 183);
/* oklch */ color: oklch(48.4% 0.181 296.0);
Tailwind
colors: {
  custom: {
    50: '#9b76cd',
    500: '#6b3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eb7;
$custom-light: #9b76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eb7",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 262.314,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.18138,
    "h": 296
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#6B3EB7
secondary
#B0C68A
accent
#D94FA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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