#6C3FA2#6C3FA2

#6C3FA2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.1% C 0.155 H 301.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6C3FA2
RGBrgb(108, 63, 162)
HSLhsl(267, 44%, 44%)
HSVhsv(267, 61%, 64%)
CMYKcmyk(33.3%, 61.1%, 0%, 36.5%)
CIE-LABlab(36.65, 40.10, -46.51)
CIE-LCHlch(36.65, 61.41, 310.77°)
OKLaboklab(47.11% 0.0813 -0.1318)
OKLCHoklch(47.11% 0.155 301.7)
XYZxyz(14.4819, 9.3517, 35.2175)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FA2 #75A23F
analogous
#3F44A2 #6C3FA2 #9E3FA2
triadic
#6C3FA2 #A26C3F #3FA26C
tetradic
#6C3FA2 #A23F44 #75A23F #3FA29E
square
#6C3FA2 #A23F44 #75A23F #3FA29E
split-complementary
#6C3FA2 #A29E3F #44A23F
monochromatic
#311D4A #4F2E76 #6C3FA2 #8B5EC0 #AA8AD1

Accessibility & contrast

On white

7.32
#6C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6C3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FA2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FA2#FFFFFF#000000##FFFFFF
##6C3FA21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#61546A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c3fa2;
/* rgb */ color: rgb(108, 63, 162);
/* oklch */ color: oklch(47.1% 0.155 301.7);
Tailwind
colors: {
  custom: {
    50: '#9a76be',
    500: '#6c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fa2;
$custom-light: #9a76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fa2",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 267.273,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.15487,
    "h": 301.7
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#6C3FA2
secondary
#A1BC81
accent
#D4549A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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