#6D3799#6D3799

#6D3799 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.156 H 306.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6D3799
RGBrgb(109, 55, 153)
HSLhsl(273, 47%, 41%)
HSVhsv(273, 64%, 60%)
CMYKcmyk(28.8%, 64.1%, 0%, 40%)
CIE-LABlab(34.57, 42.41, -44.42)
CIE-LCHlch(34.57, 61.41, 313.67°)
OKLaboklab(45.43% 0.0931 -0.1256)
OKLCHoklch(45.43% 0.156 306.5)
XYZxyz(13.4214, 8.2836, 31.0227)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3799 #639937
analogous
#3C3799 #6D3799 #993794
triadic
#6D3799 #996D37 #37996D
tetradic
#6D3799 #993C37 #639937 #379499
square
#6D3799 #993C37 #639937 #379499
split-complementary
#6D3799 #949937 #37993C
monochromatic
#2D173F #4D276C #6D3799 #8C4EBF #AA7BD0

Accessibility & contrast

On white

7.90
#6D3799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6D3799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3799
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3799#FFFFFF#000000##FFFFFF
##6D37991.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#664B63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d3799;
/* rgb */ color: rgb(109, 55, 153);
/* oklch */ color: oklch(45.4% 0.156 306.5);
Tailwind
colors: {
  custom: {
    50: '#9a71b8',
    500: '#6d3799',
    950: '#000000',
  },
}
SCSS
$custom: #6d3799;
$custom-light: #9a71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3799",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 273.061,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.15635,
    "h": 306.5
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#6D3799
secondary
#92B973
accent
#D7518D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6D3799

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

Preview Lab → · Contrast checker → · Palette generator →

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