#6C307A#6C307A

#6C307A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.3% C 0.132 H 319.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6C307A
RGBrgb(108, 48, 122)
HSLhsl(289, 44%, 33%)
HSVhsv(289, 61%, 48%)
CMYKcmyk(11.5%, 60.7%, 0%, 52.2%)
CIE-LABlab(31.13, 38.67, -30.77)
CIE-LCHlch(31.13, 49.42, 321.50°)
OKLaboklab(42.27% 0.101 -0.0857)
OKLCHoklch(42.27% 0.132 319.7)
XYZxyz(10.7537, 6.7077, 19.1368)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C307A #3E7A30
analogous
#47307A #6C307A #7A3063
triadic
#6C307A #7A6C30 #307A6C
tetradic
#6C307A #7A4730 #3E7A30 #30637A
square
#6C307A #7A4730 #3E7A30 #30637A
split-complementary
#6C307A #637A30 #307A47
monochromatic
#1E0D22 #451F4E #6C307A #9341A6 #B063C2

Accessibility & contrast

On white

8.97
#6C307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C307A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C307A#FFFFFF#000000##FFFFFF
##6C307A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#6C3C50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c307a;
/* rgb */ color: rgb(108, 48, 122);
/* oklch */ color: oklch(42.3% 0.132 319.7);
Tailwind
colors: {
  custom: {
    50: '#986ca1',
    500: '#6c307a',
    950: '#000000',
  },
}
SCSS
$custom: #6c307a;
$custom-light: #986ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c307a",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 288.649,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.13242,
    "h": 319.7
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#6C307A
secondary
#6BA95D
accent
#D3556D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6C307A

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

Preview Lab → · Contrast checker → · Palette generator →

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