#6D3EAF#6D3EAF

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

Color values

HEX#6D3EAF
RGBrgb(109, 62, 175)
HSLhsl(265, 48%, 46%)
HSVhsv(265, 65%, 69%)
CMYKcmyk(37.7%, 64.6%, 0%, 31.4%)
CIE-LABlab(37.47, 44.27, -52.95)
CIE-LCHlch(37.47, 69.02, 309.89°)
OKLaboklab(48.01% 0.0831 -0.1507)
OKLCHoklch(48.01% 0.172 298.9)
XYZxyz(15.7652, 9.7914, 41.6085)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EAF #80AF3E
analogous
#3E48AF #6D3EAF #A63EAF
triadic
#6D3EAF #AF6D3E #3EAF6D
tetradic
#6D3EAF #AF3E48 #80AF3E #3EAFA6
square
#6D3EAF #AF3E48 #80AF3E #3EAFA6
split-complementary
#6D3EAF #AFA63E #48AF3E
monochromatic
#351E55 #512E82 #6D3EAF #8D63C8 #AE90D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D3EAF#FFFFFF#000000##FFFFFF
##6D3EAF1.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)
#0058B3
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#5E5771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3eaf;
/* rgb */ color: rgb(109, 62, 175);
/* oklch */ color: oklch(48.0% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#9c76c8',
    500: '#6d3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eaf;
$custom-light: #9c76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eaf",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 264.956,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.17211,
    "h": 298.9
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#6D3EAF
secondary
#A9C386
accent
#D7519F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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