#6B3EA4#6B3EA4

#6B3EA4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.159 H 300.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6B3EA4
RGBrgb(107, 62, 164)
HSLhsl(266, 45%, 44%)
HSVhsv(266, 62%, 64%)
CMYKcmyk(34.8%, 62.2%, 0%, 35.7%)
CIE-LABlab(36.46, 40.94, -48.02)
CIE-LCHlch(36.46, 63.10, 310.45°)
OKLaboklab(46.99% 0.0811 -0.1363)
OKLCHoklch(46.99% 0.159 300.8)
XYZxyz(14.4853, 9.2513, 36.1373)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EA4 #77A43E
analogous
#3E44A4 #6B3EA4 #9E3EA4
triadic
#6B3EA4 #A46B3E #3EA46B
tetradic
#6B3EA4 #A43E44 #77A43E #3EA49E
square
#6B3EA4 #A43E44 #77A43E #3EA49E
split-complementary
#6B3EA4 #A49E3E #44A43E
monochromatic
#311C4B #4E2D78 #6B3EA4 #8A5DC2 #AA8AD3

Accessibility & contrast

On white

7.37
#6B3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6B3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EA4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EA4#FFFFFF#000000##FFFFFF
##6B3EA41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3ea4;
/* rgb */ color: rgb(107, 62, 164);
/* oklch */ color: oklch(47.0% 0.159 300.8);
Tailwind
colors: {
  custom: {
    50: '#9976c0',
    500: '#6b3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ea4;
$custom-light: #9976c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ea4",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 266.471,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.15859,
    "h": 300.8
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#6B3EA4
secondary
#A2BD81
accent
#D5539C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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