#6D3096#6D3096

#6D3096 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.163 H 308.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6D3096
RGBrgb(109, 48, 150)
HSLhsl(276, 52%, 39%)
HSVhsv(276, 68%, 59%)
CMYKcmyk(27.3%, 68%, 0%, 41.2%)
CIE-LABlab(33.06, 45.25, -45.01)
CIE-LCHlch(33.06, 63.82, 315.15°)
OKLaboklab(44.28% 0.1017 -0.1273)
OKLCHoklch(44.28% 0.163 308.6)
XYZxyz(12.8675, 7.5673, 29.6310)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3096 #599630
analogous
#3A3096 #6D3096 #96308C
triadic
#6D3096 #966D30 #30966D
tetradic
#6D3096 #963A30 #599630 #308C96
square
#6D3096 #963A30 #599630 #308C96
split-complementary
#6D3096 #8C9630 #30963A
monochromatic
#2A1239 #4B2168 #6D3096 #8E41C2 #AA6FD1

Accessibility & contrast

On white

8.36
#6D3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6D3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3096
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3096#FFFFFF#000000##FFFFFF
##6D30961.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#1D4E94
Tritanopia (blue-blind)
#67465F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d3096;
/* rgb */ color: rgb(109, 48, 150);
/* oklch */ color: oklch(44.3% 0.163 308.6);
Tailwind
colors: {
  custom: {
    50: '#9a6db5',
    500: '#6d3096',
    950: '#000000',
  },
}
SCSS
$custom: #6d3096;
$custom-light: #9a6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3096",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 275.882,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.16298,
    "h": 308.6
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#6D3096
secondary
#89B969
accent
#DB4D86
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D3096

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

Preview Lab → · Contrast checker → · Palette generator →

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