#6B3FA1#6B3FA1

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

Color values

HEX#6B3FA1
RGBrgb(107, 63, 161)
HSLhsl(267, 44%, 44%)
HSVhsv(267, 61%, 63%)
CMYKcmyk(33.5%, 60.9%, 0%, 36.9%)
CIE-LABlab(36.47, 39.60, -46.21)
CIE-LCHlch(36.47, 60.86, 310.60°)
OKLaboklab(46.92% 0.08 -0.131)
OKLCHoklch(46.92% 0.153 301.4)
XYZxyz(14.2724, 9.2540, 34.7456)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FA1 #75A13F
analogous
#3F44A1 #6B3FA1 #9C3FA1
triadic
#6B3FA1 #A16B3F #3FA16B
tetradic
#6B3FA1 #A13F44 #75A13F #3FA19C
square
#6B3FA1 #A13F44 #75A13F #3FA19C
split-complementary
#6B3FA1 #A19C3F #44A13F
monochromatic
#311D49 #4E2E75 #6B3FA1 #8A5DC0 #AA89D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B3FA1#FFFFFF#000000##FFFFFF
##6B3FA11.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)
#0655A4
Deuteranopia (green-blind)
#21559F
Tritanopia (blue-blind)
#60536A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3fa1;
/* rgb */ color: rgb(107, 63, 161);
/* oklch */ color: oklch(46.9% 0.153 301.4);
Tailwind
colors: {
  custom: {
    50: '#9976bd',
    500: '#6b3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fa1;
$custom-light: #9976bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fa1",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 266.939,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.15345,
    "h": 301.4
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#6B3FA1
secondary
#A1BC80
accent
#D3549A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6B3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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