#6D309A#6D309A

#6D309A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.167 H 307.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6D309A
RGBrgb(109, 48, 154)
HSLhsl(275, 52%, 40%)
HSVhsv(275, 69%, 60%)
CMYKcmyk(29.2%, 68.8%, 0%, 39.6%)
CIE-LABlab(33.35, 46.20, -46.99)
CIE-LCHlch(33.35, 65.90, 314.51°)
OKLaboklab(44.57% 0.1013 -0.1331)
OKLCHoklch(44.57% 0.167 307.3)
XYZxyz(13.1951, 7.6984, 31.3564)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D309A #5D9A30
analogous
#38309A #6D309A #9A3092
triadic
#6D309A #9A6D30 #309A6D
tetradic
#6D309A #9A3830 #5D9A30 #30929A
square
#6D309A #9A3830 #5D9A30 #30929A
split-complementary
#6D309A #929A30 #309A38
monochromatic
#2B133D #4C216B #6D309A #8D43C4 #AA72D3

Accessibility & contrast

On white

8.27
#6D309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6D309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D309A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D309A#FFFFFF#000000##FFFFFF
##6D309A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#164F98
Tritanopia (blue-blind)
#664761
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d309a;
/* rgb */ color: rgb(109, 48, 154);
/* oklch */ color: oklch(44.6% 0.167 307.3);
Tailwind
colors: {
  custom: {
    50: '#9b6db8',
    500: '#6d309a',
    950: '#000000',
  },
}
SCSS
$custom: #6d309a;
$custom-light: #9b6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d309a",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 274.528,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.16732,
    "h": 307.3
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#6D309A
secondary
#8DBB6B
accent
#DC4C89
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D309A

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

Preview Lab → · Contrast checker → · Palette generator →

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