#6D3DAF#6D3DAF

#6D3DAF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.173 H 299.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6D3DAF
RGBrgb(109, 61, 175)
HSLhsl(265, 48%, 46%)
HSVhsv(265, 65%, 69%)
CMYKcmyk(37.7%, 65.1%, 0%, 31.4%)
CIE-LABlab(37.27, 44.80, -53.27)
CIE-LCHlch(37.27, 69.61, 310.06°)
OKLaboklab(47.87% 0.0843 -0.1517)
OKLCHoklch(47.87% 0.173 299.1)
XYZxyz(15.7114, 9.6837, 41.5905)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3DAF #7FAF3D
analogous
#3D46AF #6D3DAF #A63DAF
triadic
#6D3DAF #AF6D3D #3DAF6D
tetradic
#6D3DAF #AF3D46 #7FAF3D #3DAFA6
square
#6D3DAF #AF3D46 #7FAF3D #3DAFA6
split-complementary
#6D3DAF #AFA63D #46AF3D
monochromatic
#341D54 #512D82 #6D3DAF #8C61C8 #AD8FD8

Accessibility & contrast

On white

7.15
#6D3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6D3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3DAF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3DAF#FFFFFF#000000##FFFFFF
##6D3DAF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#5E5770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3daf;
/* rgb */ color: rgb(109, 61, 175);
/* oklch */ color: oklch(47.9% 0.173 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c75c8',
    500: '#6d3daf',
    950: '#000000',
  },
}
SCSS
$custom: #6d3daf;
$custom-light: #9c75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3daf",
  "rgb": {
    "r": 109,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 265.263,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.17349,
    "h": 299.1
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#6D3DAF
secondary
#A9C385
accent
#D8509F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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