#6B3FAC#6B3FAC

#6B3FAC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.167 H 298.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6B3FAC
RGBrgb(107, 63, 172)
HSLhsl(264, 46%, 46%)
HSVhsv(264, 63%, 67%)
CMYKcmyk(37.8%, 63.4%, 0%, 32.5%)
CIE-LABlab(37.22, 42.49, -51.57)
CIE-LCHlch(37.22, 66.82, 309.49°)
OKLaboklab(47.71% 0.0794 -0.1467)
OKLCHoklch(47.71% 0.167 298.4)
XYZxyz(15.2854, 9.6592, 40.0808)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FAC #80AC3F
analogous
#3F49AC #6B3FAC #A13FAC
triadic
#6B3FAC #AC6B3F #3FAC6B
tetradic
#6B3FAC #AC3F49 #80AC3F #3FACA1
square
#6B3FAC #AC3F49 #80AC3F #3FACA1
split-complementary
#6B3FAC #ACA13F #49AC3F
monochromatic
#331E52 #4F2F7F #6B3FAC #8B63C6 #AC8FD6

Accessibility & contrast

On white

7.16
#6B3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3FAC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FAC#FFFFFF#000000##FFFFFF
##6B3FAC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0956AA
Tritanopia (blue-blind)
#5C576F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3fac;
/* rgb */ color: rgb(107, 63, 172);
/* oklch */ color: oklch(47.7% 0.167 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a76c5',
    500: '#6b3fac',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fac;
$custom-light: #9a76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fac",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 264.22,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.16684,
    "h": 298.4
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#6B3FAC
secondary
#A9C186
accent
#D652A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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