#6D3FAF#6D3FAF

#6D3FAF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.171 H 298.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6D3FAF
RGBrgb(109, 63, 175)
HSLhsl(265, 47%, 47%)
HSVhsv(265, 64%, 69%)
CMYKcmyk(37.7%, 64%, 0%, 31.4%)
CIE-LABlab(37.66, 43.73, -52.63)
CIE-LCHlch(37.66, 68.42, 309.72°)
OKLaboklab(48.15% 0.082 -0.1498)
OKLCHoklch(48.15% 0.171 298.7)
XYZxyz(15.8201, 9.9012, 41.6268)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3FAF #81AF3F
analogous
#3F49AF #6D3FAF #A53FAF
triadic
#6D3FAF #AF6D3F #3FAF6D
tetradic
#6D3FAF #AF3F49 #81AF3F #3FAFA5
square
#6D3FAF #AF3F49 #81AF3F #3FAFA5
split-complementary
#6D3FAF #AFA53F #49AF3F
monochromatic
#351F55 #512F82 #6D3FAF #8D64C7 #AE91D7

Accessibility & contrast

On white

7.05
#6D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6D3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3FAF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3FAF#FFFFFF#000000##FFFFFF
##6D3FAF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#5E5871
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3faf;
/* rgb */ color: rgb(109, 63, 175);
/* oklch */ color: oklch(48.2% 0.171 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c77c8',
    500: '#6d3faf',
    950: '#000000',
  },
}
SCSS
$custom: #6d3faf;
$custom-light: #9c77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3faf",
  "rgb": {
    "r": 109,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 264.643,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.17073,
    "h": 298.7
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#6D3FAF
secondary
#AAC387
accent
#D751A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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