#6C3FB2#6C3FB2

#6C3FB2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.174 H 297.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6C3FB2
RGBrgb(108, 63, 178)
HSLhsl(263, 48%, 47%)
HSVhsv(263, 65%, 70%)
CMYKcmyk(39.3%, 64.6%, 0%, 30.2%)
CIE-LABlab(37.77, 44.30, -54.25)
CIE-LCHlch(37.77, 70.04, 309.24°)
OKLaboklab(48.27% 0.0803 -0.1546)
OKLCHoklch(48.27% 0.174 297.5)
XYZxyz(15.9957, 9.9573, 43.1900)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FB2 #85B23F
analogous
#3F4CB2 #6C3FB2 #A53FB2
triadic
#6C3FB2 #B26C3F #3FB26C
tetradic
#6C3FB2 #B23F4C #85B23F #3FB2A5
square
#6C3FB2 #B23F4C #85B23F #3FB2A5
split-complementary
#6C3FB2 #B2A53F #4CB23F
monochromatic
#351F58 #512F85 #6C3FB2 #8C66C9 #AE93D9

Accessibility & contrast

On white

7.02
#6C3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6C3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FB2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FB2#FFFFFF#000000##FFFFFF
##6C3FB21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3fb2;
/* rgb */ color: rgb(108, 63, 178);
/* oklch */ color: oklch(48.3% 0.174 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b77ca',
    500: '#6c3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fb2;
$custom-light: #9b77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fb2",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 263.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.17419,
    "h": 297.5
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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