#6D3597#6D3597

#6D3597 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.157 H 307.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6D3597
RGBrgb(109, 53, 151)
HSLhsl(274, 48%, 40%)
HSVhsv(274, 65%, 59%)
CMYKcmyk(27.8%, 64.9%, 0%, 40.8%)
CIE-LABlab(34.05, 42.97, -44.04)
CIE-LCHlch(34.05, 61.53, 314.30°)
OKLaboklab(45.01% 0.0957 -0.1245)
OKLCHoklch(45.01% 0.157 307.5)
XYZxyz(13.1645, 8.0320, 30.1290)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3597 #5F9735
analogous
#3C3597 #6D3597 #973590
triadic
#6D3597 #976D35 #35976D
tetradic
#6D3597 #973C35 #5F9735 #359097
square
#6D3597 #973C35 #5F9735 #359097
split-complementary
#6D3597 #909735 #35973C
monochromatic
#2C153C #4C256A #6D3597 #8D4ABF #AA77CF

Accessibility & contrast

On white

8.06
#6D3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3597
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3597#FFFFFF#000000##FFFFFF
##6D35971.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#664961
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d3597;
/* rgb */ color: rgb(109, 53, 151);
/* oklch */ color: oklch(45.0% 0.157 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a70b6',
    500: '#6d3597',
    950: '#000000',
  },
}
SCSS
$custom: #6d3597;
$custom-light: #9a70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3597",
  "rgb": {
    "r": 109,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 274.286,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.157,
    "h": 307.5
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#6D3597
secondary
#8FB870
accent
#D8508A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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