#6C3DA5#6C3DA5

#6C3DA5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.161 H 301.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6C3DA5
RGBrgb(108, 61, 165)
HSLhsl(267, 46%, 44%)
HSVhsv(267, 63%, 65%)
CMYKcmyk(34.5%, 63%, 0%, 35.3%)
CIE-LABlab(36.45, 41.98, -48.64)
CIE-LCHlch(36.45, 64.25, 310.80°)
OKLaboklab(47.02% 0.0837 -0.1381)
OKLCHoklch(47.02% 0.161 301.2)
XYZxyz(14.6430, 9.2422, 36.6025)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DA5 #76A53D
analogous
#3D42A5 #6C3DA5 #A03DA5
triadic
#6C3DA5 #A56C3D #3DA56C
tetradic
#6C3DA5 #A53D42 #76A53D #3DA5A0
square
#6C3DA5 #A53D42 #76A53D #3DA5A0
split-complementary
#6C3DA5 #A5A03D #42A53D
monochromatic
#321C4C #4F2C78 #6C3DA5 #8B5CC3 #AB89D3

Accessibility & contrast

On white

7.37
#6C3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6C3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DA5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DA5#FFFFFF#000000##FFFFFF
##6C3DA51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#1955A3
Tritanopia (blue-blind)
#60536B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c3da5;
/* rgb */ color: rgb(108, 61, 165);
/* oklch */ color: oklch(47.0% 0.161 301.2);
Tailwind
colors: {
  custom: {
    50: '#9a75c0',
    500: '#6c3da5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3da5;
$custom-light: #9a75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3da5",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 267.115,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.16143,
    "h": 301.2
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#6C3DA5
secondary
#A2BE80
accent
#D6529A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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