#6D2396#6D2396

#6D2396 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.179 H 310.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6D2396
RGBrgb(109, 35, 150)
HSLhsl(279, 62%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(27.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(31.01, 51.04, -48.33)
CIE-LCHlch(31.01, 70.29, 316.56°)
OKLaboklab(42.81% 0.1155 -0.137)
OKLCHoklch(42.81% 0.179 310.1)
XYZxyz(12.4116, 6.6556, 29.4791)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2396 #4C9623
analogous
#342396 #6D2396 #962386
triadic
#6D2396 #966D23 #23966D
tetradic
#6D2396 #963423 #4C9623 #238696
square
#6D2396 #963423 #4C9623 #238696
split-complementary
#6D2396 #869623 #239634
monochromatic
#250C33 #491764 #6D2396 #912FC8 #AC5BD9

Accessibility & contrast

On white

9.01
#6D2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2396
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2396#FFFFFF#000000##FFFFFF
##6D23961.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#673E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2396;
/* rgb */ color: rgb(109, 35, 150);
/* oklch */ color: oklch(42.8% 0.179 310.1);
Tailwind
colors: {
  custom: {
    50: '#9b66b6',
    500: '#6d2396',
    950: '#000000',
  },
}
SCSS
$custom: #6d2396;
$custom-light: #9b66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2396",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 278.609,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.17921,
    "h": 310.1
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6D2396
secondary
#7CBD58
accent
#E5437D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2396

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

Preview Lab → · Contrast checker → · Palette generator →

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