#6B3FA4#6B3FA4

#6B3FA4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.1% C 0.157 H 300.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6B3FA4
RGBrgb(107, 63, 164)
HSLhsl(266, 44%, 45%)
HSVhsv(266, 62%, 64%)
CMYKcmyk(34.8%, 61.6%, 0%, 35.7%)
CIE-LABlab(36.67, 40.38, -47.68)
CIE-LCHlch(36.67, 62.49, 310.26°)
OKLaboklab(47.14% 0.0799 -0.1353)
OKLCHoklch(47.14% 0.157 300.6)
XYZxyz(14.5401, 9.3611, 36.1556)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FA4 #78A43F
analogous
#3F46A4 #6B3FA4 #9E3FA4
triadic
#6B3FA4 #A46B3F #3FA46B
tetradic
#6B3FA4 #A43F46 #78A43F #3FA49E
square
#6B3FA4 #A43F46 #78A43F #3FA49E
split-complementary
#6B3FA4 #A49E3F #46A43F
monochromatic
#311D4C #4E2E78 #6B3FA4 #8A5FC1 #AA8BD2

Accessibility & contrast

On white

7.31
#6B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3FA4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FA4#FFFFFF#000000##FFFFFF
##6B3FA41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#1D56A2
Tritanopia (blue-blind)
#5F546B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3fa4;
/* rgb */ color: rgb(107, 63, 164);
/* oklch */ color: oklch(47.1% 0.157 300.6);
Tailwind
colors: {
  custom: {
    50: '#9976c0',
    500: '#6b3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fa4;
$custom-light: #9976c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fa4",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 266.139,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.15712,
    "h": 300.6
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#6B3FA4
secondary
#A3BD82
accent
#D4549C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6B3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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