#6B3FB2#6B3FB2

#6B3FB2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.174 H 297.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6B3FB2
RGBrgb(107, 63, 178)
HSLhsl(263, 48%, 47%)
HSVhsv(263, 65%, 70%)
CMYKcmyk(39.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(37.65, 44.09, -54.44)
CIE-LCHlch(37.65, 70.05, 309.00°)
OKLaboklab(48.16% 0.0789 -0.1552)
OKLCHoklch(48.16% 0.174 297)
XYZxyz(15.8747, 9.8949, 43.1844)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FB2 #86B23F
analogous
#3F4CB2 #6B3FB2 #A53FB2
triadic
#6B3FB2 #B26B3F #3FB26B
tetradic
#6B3FB2 #B23F4C #86B23F #3FB2A5
square
#6B3FB2 #B23F4C #86B23F #3FB2A5
split-complementary
#6B3FB2 #B2A53F #4CB23F
monochromatic
#351F58 #502F85 #6B3FB2 #8B66C9 #AD93D9

Accessibility & contrast

On white

7.05
#6B3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6B3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3FB2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FB2#FFFFFF#000000##FFFFFF
##6B3FB21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#5A5973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3fb2;
/* rgb */ color: rgb(107, 63, 178);
/* oklch */ color: oklch(48.2% 0.174 297.0);
Tailwind
colors: {
  custom: {
    50: '#9b77ca',
    500: '#6b3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fb2;
$custom-light: #9b77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fb2",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 262.957,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.17407,
    "h": 297
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#6B3FB2
secondary
#ADC489
accent
#D750A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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