#6C3DB2#6C3DB2

#6C3DB2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.177 H 297.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6C3DB2
RGBrgb(108, 61, 178)
HSLhsl(264, 49%, 47%)
HSVhsv(264, 66%, 70%)
CMYKcmyk(39.3%, 65.7%, 0%, 30.2%)
CIE-LABlab(37.37, 45.38, -54.89)
CIE-LCHlch(37.37, 71.22, 309.58°)
OKLaboklab(47.98% 0.0825 -0.1564)
OKLCHoklch(47.98% 0.177 297.8)
XYZxyz(15.8869, 9.7397, 43.1538)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DB2 #83B23D
analogous
#3D48B2 #6C3DB2 #A73DB2
triadic
#6C3DB2 #B26C3D #3DB26C
tetradic
#6C3DB2 #B23D48 #83B23D #3DB2A7
square
#6C3DB2 #B23D48 #83B23D #3DB2A7
split-complementary
#6C3DB2 #B2A73D #48B23D
monochromatic
#351E57 #502D84 #6C3DB2 #8C63C9 #AE90D9

Accessibility & contrast

On white

7.12
#6C3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DB2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DB2#FFFFFF#000000##FFFFFF
##6C3DB21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#5B5872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3db2;
/* rgb */ color: rgb(108, 61, 178);
/* oklch */ color: oklch(48.0% 0.177 297.8);
Tailwind
colors: {
  custom: {
    50: '#9b75ca',
    500: '#6c3db2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3db2;
$custom-light: #9b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3db2",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 264.103,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.17689,
    "h": 297.8
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#6C3DB2
secondary
#ABC487
accent
#D94FA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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