#6D307C#6D307C

#6D307C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.5% C 0.135 H 319.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6D307C
RGBrgb(109, 48, 124)
HSLhsl(288, 44%, 34%)
HSVhsv(288, 61%, 49%)
CMYKcmyk(12.1%, 61.3%, 0%, 51.4%)
CIE-LABlab(31.40, 39.38, -31.60)
CIE-LCHlch(31.40, 50.49, 321.26°)
OKLaboklab(42.53% 0.1024 -0.0881)
OKLCHoklch(42.53% 0.135 319.3)
XYZxyz(11.0012, 6.8208, 19.8019)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D307C #3F7C30
analogous
#47307C #6D307C #7C3065
triadic
#6D307C #7C6D30 #307C6D
tetradic
#6D307C #7C4730 #3F7C30 #30657C
square
#6D307C #7C4730 #3F7C30 #30657C
split-complementary
#6D307C #657C30 #307C47
monochromatic
#1F0E24 #461F50 #6D307C #9441A8 #B064C3

Accessibility & contrast

On white

8.88
#6D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D307C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D307C#FFFFFF#000000##FFFFFF
##6D307C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#6D3C51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d307c;
/* rgb */ color: rgb(109, 48, 124);
/* oklch */ color: oklch(42.5% 0.135 319.3);
Tailwind
colors: {
  custom: {
    50: '#996ca2',
    500: '#6d307c',
    950: '#000000',
  },
}
SCSS
$custom: #6d307c;
$custom-light: #996ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d307c",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 288.158,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.13504,
    "h": 319.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6D307C
secondary
#6DAA5E
accent
#D4546D
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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