#6D3FAC#6D3FAC

#6D3FAC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.167 H 299.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6D3FAC
RGBrgb(109, 63, 172)
HSLhsl(265, 46%, 46%)
HSVhsv(265, 63%, 67%)
CMYKcmyk(36.6%, 63.4%, 0%, 32.5%)
CIE-LABlab(37.45, 42.94, -51.19)
CIE-LCHlch(37.45, 66.81, 309.99°)
OKLaboklab(47.93% 0.0822 -0.1455)
OKLCHoklch(47.93% 0.167 299.5)
XYZxyz(15.5287, 9.7846, 40.0922)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3FAC #7EAC3F
analogous
#3F47AC #6D3FAC #A33FAC
triadic
#6D3FAC #AC6D3F #3FAC6D
tetradic
#6D3FAC #AC3F47 #7EAC3F #3FACA3
square
#6D3FAC #AC3F47 #7EAC3F #3FACA3
split-complementary
#6D3FAC #ACA33F #47AC3F
monochromatic
#341E52 #512F7F #6D3FAC #8C63C6 #AD8FD6

Accessibility & contrast

On white

7.10
#6D3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6D3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3FAC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3FAC#FFFFFF#000000##FFFFFF
##6D3FAC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0F57AA
Tritanopia (blue-blind)
#5F576F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3fac;
/* rgb */ color: rgb(109, 63, 172);
/* oklch */ color: oklch(47.9% 0.167 299.5);
Tailwind
colors: {
  custom: {
    50: '#9b77c5',
    500: '#6d3fac',
    950: '#000000',
  },
}
SCSS
$custom: #6d3fac;
$custom-light: #9b77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3fac",
  "rgb": {
    "r": 109,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 265.321,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.16714,
    "h": 299.5
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#6D3FAC
secondary
#A8C186
accent
#D6529E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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