#6C3DA2#6C3DA2

#6C3DA2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.158 H 302.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6C3DA2
RGBrgb(108, 61, 162)
HSLhsl(268, 45%, 44%)
HSVhsv(268, 62%, 64%)
CMYKcmyk(33.3%, 62.3%, 0%, 36.5%)
CIE-LABlab(36.24, 41.21, -47.17)
CIE-LCHlch(36.24, 62.63, 311.14°)
OKLaboklab(46.81% 0.0838 -0.1337)
OKLCHoklch(46.81% 0.158 302.1)
XYZxyz(14.3731, 9.1342, 35.1813)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DA2 #73A23D
analogous
#3D40A2 #6C3DA2 #9E3DA2
triadic
#6C3DA2 #A26C3D #3DA26C
tetradic
#6C3DA2 #A23D40 #73A23D #3DA29E
square
#6C3DA2 #A23D40 #73A23D #3DA29E
split-complementary
#6C3DA2 #A29E3D #40A23D
monochromatic
#311C49 #4E2C76 #6C3DA2 #8B5BC1 #AA87D2

Accessibility & contrast

On white

7.43
#6C3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6C3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DA2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DA2#FFFFFF#000000##FFFFFF
##6C3DA21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#61526A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3da2;
/* rgb */ color: rgb(108, 61, 162);
/* oklch */ color: oklch(46.8% 0.158 302.1);
Tailwind
colors: {
  custom: {
    50: '#9a75be',
    500: '#6c3da2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3da2;
$custom-light: #9a75be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3da2",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 267.921,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.15784,
    "h": 302.1
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#6C3DA2
secondary
#A0BC7E
accent
#D55398
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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