#6C3DBA#6C3DBA

#6C3DBA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.186 H 296.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6C3DBA
RGBrgb(108, 61, 186)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 67%, 73%)
CMYKcmyk(41.9%, 67.2%, 0%, 27.1%)
CIE-LABlab(37.97, 47.50, -58.64)
CIE-LCHlch(37.97, 75.47, 309.01°)
OKLaboklab(48.6% 0.0816 -0.1675)
OKLCHoklch(48.6% 0.186 296)
XYZxyz(16.7137, 10.0704, 47.5081)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DBA #8BBA3D
analogous
#3D4CBA #6C3DBA #AA3DBA
triadic
#6C3DBA #BA6C3D #3DBA6C
tetradic
#6C3DBA #BA3D4C #8BBA3D #3DBAAA
square
#6C3DBA #BA3D4C #8BBA3D #3DBAAA
split-complementary
#6C3DBA #BAAA3D #4CBA3D
monochromatic
#361F5E #512E8C #6C3DBA #8D67CD #B095DC

Accessibility & contrast

On white

6.97
#6C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6C3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3DBA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DBA#FFFFFF#000000##FFFFFF
##6C3DBA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#585B76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3dba;
/* rgb */ color: rgb(108, 61, 186);
/* oklch */ color: oklch(48.6% 0.186 296.0);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3dba;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3dba",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 262.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.486,
    "c": 0.18629,
    "h": 296
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#6C3DBA
secondary
#B1C88B
accent
#DA4EA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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