#6C3DA4#6C3DA4

#6C3DA4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.160 H 301.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6C3DA4
RGBrgb(108, 61, 164)
HSLhsl(267, 46%, 44%)
HSVhsv(267, 63%, 64%)
CMYKcmyk(34.1%, 62.8%, 0%, 35.7%)
CIE-LABlab(36.38, 41.72, -48.15)
CIE-LCHlch(36.38, 63.71, 310.91°)
OKLaboklab(46.95% 0.0837 -0.1366)
OKLCHoklch(46.95% 0.16 301.5)
XYZxyz(14.5523, 9.2059, 36.1250)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DA4 #75A43D
analogous
#3D41A4 #6C3DA4 #A03DA4
triadic
#6C3DA4 #A46C3D #3DA46C
tetradic
#6C3DA4 #A43D41 #75A43D #3DA4A0
square
#6C3DA4 #A43D41 #75A43D #3DA4A0
split-complementary
#6C3DA4 #A4A03D #41A43D
monochromatic
#311C4B #4F2C77 #6C3DA4 #8B5CC2 #AA88D3

Accessibility & contrast

On white

7.39
#6C3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6C3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DA4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DA4#FFFFFF#000000##FFFFFF
##6C3DA41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#61536B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c3da4;
/* rgb */ color: rgb(108, 61, 164);
/* oklch */ color: oklch(46.9% 0.160 301.5);
Tailwind
colors: {
  custom: {
    50: '#9a75c0',
    500: '#6c3da4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3da4;
$custom-light: #9a75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3da4",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 267.379,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.16024,
    "h": 301.5
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#6C3DA4
secondary
#A1BD7F
accent
#D5529A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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