#6D309D#6D309D

#6D309D is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.171 H 306.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6D309D
RGBrgb(109, 48, 157)
HSLhsl(274, 53%, 40%)
HSVhsv(274, 69%, 62%)
CMYKcmyk(30.6%, 69.4%, 0%, 38.4%)
CIE-LABlab(33.56, 46.91, -48.47)
CIE-LCHlch(33.56, 67.45, 314.07°)
OKLaboklab(44.79% 0.101 -0.1375)
OKLCHoklch(44.79% 0.171 306.3)
XYZxyz(13.4481, 7.7996, 32.6888)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D309D #609D30
analogous
#36309D #6D309D #9D3096
triadic
#6D309D #9D6D30 #309D6D
tetradic
#6D309D #9D3630 #609D30 #30969D
square
#6D309D #9D3630 #609D30 #30969D
split-complementary
#6D309D #969D30 #309D36
monochromatic
#2C133F #4C226E #6D309D #8D44C6 #A973D4

Accessibility & contrast

On white

8.20
#6D309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D309D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D309D#FFFFFF#000000##FFFFFF
##6D309D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#0F4F9B
Tritanopia (blue-blind)
#654863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d309d;
/* rgb */ color: rgb(109, 48, 157);
/* oklch */ color: oklch(44.8% 0.171 306.3);
Tailwind
colors: {
  custom: {
    50: '#9b6dbb',
    500: '#6d309d',
    950: '#000000',
  },
}
SCSS
$custom: #6d309d;
$custom-light: #9b6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d309d",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 273.578,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.17058,
    "h": 306.3
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#6D309D
secondary
#90BC6D
accent
#DD4B8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D309D

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

Preview Lab → · Contrast checker → · Palette generator →

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