#6D309B#6D309B

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

Color values

HEX#6D309B
RGBrgb(109, 48, 155)
HSLhsl(274, 53%, 40%)
HSVhsv(274, 69%, 61%)
CMYKcmyk(29.7%, 69%, 0%, 39.2%)
CIE-LABlab(33.42, 46.44, -47.49)
CIE-LCHlch(33.42, 66.42, 314.36°)
OKLaboklab(44.64% 0.1012 -0.1346)
OKLCHoklch(44.64% 0.168 306.9)
XYZxyz(13.2788, 7.7318, 31.7968)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D309B #5E9B30
analogous
#38309B #6D309B #9B3093
triadic
#6D309B #9B6D30 #309B6D
tetradic
#6D309B #9B3830 #5E9B30 #30939B
square
#6D309B #9B3830 #5E9B30 #30939B
split-complementary
#6D309B #939B30 #309B38
monochromatic
#2B133E #4C226C #6D309B #8D43C5 #AA72D3

Accessibility & contrast

On white

8.25
#6D309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D309B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D309B#FFFFFF#000000##FFFFFF
##6D309B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#144F99
Tritanopia (blue-blind)
#654761
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d309b;
/* rgb */ color: rgb(109, 48, 155);
/* oklch */ color: oklch(44.6% 0.168 306.9);
Tailwind
colors: {
  custom: {
    50: '#9b6db9',
    500: '#6d309b',
    950: '#000000',
  },
}
SCSS
$custom: #6d309b;
$custom-light: #9b6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d309b",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 274.206,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.16841,
    "h": 306.9
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#6D309B
secondary
#8EBB6C
accent
#DC4C8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D309B

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

Preview Lab → · Contrast checker → · Palette generator →

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