#6D2C97#6D2C97

#6D2C97 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.169 H 308.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6D2C97
RGBrgb(109, 44, 151)
HSLhsl(276, 55%, 38%)
HSVhsv(276, 71%, 59%)
CMYKcmyk(27.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(32.45, 47.39, -46.61)
CIE-LCHlch(32.45, 66.47, 315.47°)
OKLaboklab(43.86% 0.1062 -0.132)
OKLCHoklch(43.86% 0.169 308.8)
XYZxyz(12.7921, 7.2872, 30.0048)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2C97 #56972C
analogous
#382C97 #6D2C97 #972C8B
triadic
#6D2C97 #976D2C #2C976D
tetradic
#6D2C97 #97382C #56972C #2C8B97
square
#6D2C97 #97382C #56972C #2C8B97
split-complementary
#6D2C97 #8B972C #2C9738
monochromatic
#291038 #4B1E68 #6D2C97 #8F3AC6 #AA6AD4

Accessibility & contrast

On white

8.55
#6D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6D2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2C97
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2C97#FFFFFF#000000##FFFFFF
##6D2C971.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#67445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2c97;
/* rgb */ color: rgb(109, 44, 151);
/* oklch */ color: oklch(43.9% 0.169 308.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bb6',
    500: '#6d2c97',
    950: '#000000',
  },
}
SCSS
$custom: #6d2c97;
$custom-light: #9b6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2c97",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 276.449,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43861,
    "c": 0.1694,
    "h": 308.8
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#6D2C97
secondary
#86BA65
accent
#DE4A84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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