#6B3FA2#6B3FA2

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

Color values

HEX#6B3FA2
RGBrgb(107, 63, 162)
HSLhsl(267, 44%, 44%)
HSVhsv(267, 61%, 64%)
CMYKcmyk(34%, 61.1%, 0%, 36.5%)
CIE-LABlab(36.54, 39.86, -46.70)
CIE-LCHlch(36.54, 61.40, 310.48°)
OKLaboklab(46.99% 0.0799 -0.1324)
OKLCHoklch(46.99% 0.155 301.1)
XYZxyz(14.3610, 9.2894, 35.2119)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FA2 #76A23F
analogous
#3F44A2 #6B3FA2 #9D3FA2
triadic
#6B3FA2 #A26B3F #3FA26B
tetradic
#6B3FA2 #A23F44 #76A23F #3FA29D
square
#6B3FA2 #A23F44 #76A23F #3FA29D
split-complementary
#6B3FA2 #A29D3F #44A23F
monochromatic
#311D4A #4E2E76 #6B3FA2 #8A5EC0 #AA8AD1

Accessibility & contrast

On white

7.35
#6B3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6B3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3FA2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FA2#FFFFFF#000000##FFFFFF
##6B3FA21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#2055A0
Tritanopia (blue-blind)
#60546A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3fa2;
/* rgb */ color: rgb(107, 63, 162);
/* oklch */ color: oklch(47.0% 0.155 301.1);
Tailwind
colors: {
  custom: {
    50: '#9976be',
    500: '#6b3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fa2;
$custom-light: #9976be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fa2",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 266.667,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.15468,
    "h": 301.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#6B3FA2
secondary
#A2BC81
accent
#D4549B
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6B3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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