#6B3FC2#6B3FC2

#6B3FC2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.193 H 293.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6B3FC2
RGBrgb(107, 63, 194)
HSLhsl(260, 52%, 50%)
HSVhsv(260, 68%, 76%)
CMYKcmyk(44.8%, 67.5%, 0%, 23.9%)
CIE-LABlab(38.86, 48.41, -61.90)
CIE-LCHlch(38.86, 78.58, 308.03°)
OKLaboklab(49.4% 0.077 -0.1771)
OKLCHoklch(49.4% 0.193 293.5)
XYZxyz(17.5759, 10.5753, 52.1437)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FC2 #96C23F
analogous
#3F54C2 #6B3FC2 #AD3FC2
triadic
#6B3FC2 #C26B3F #3FC26B
tetradic
#6B3FC2 #C23F54 #96C23F #3FC2AD
square
#6B3FC2 #C23F54 #96C23F #3FC2AD
split-complementary
#6B3FC2 #C2AD3F #54C23F
monochromatic
#382066 #512F95 #6B3FC2 #8F6DD1 #B39CE0

Accessibility & contrast

On white

6.74
#6B3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6B3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3FC2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FC2#FFFFFF#000000##FFFFFF
##6B3FC21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#525F7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3fc2;
/* rgb */ color: rgb(107, 63, 194);
/* oklch */ color: oklch(49.4% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c77d5',
    500: '#6b3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fc2;
$custom-light: #9c77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fc2",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 260.153,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.19309,
    "h": 293.5
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#6B3FC2
secondary
#B8CC91
accent
#DB4DAB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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