#6C307C#6C307C

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

Color values

HEX#6C307C
RGBrgb(108, 48, 124)
HSLhsl(287, 44%, 34%)
HSVhsv(287, 61%, 49%)
CMYKcmyk(12.9%, 61.3%, 0%, 51.4%)
CIE-LABlab(31.25, 39.11, -31.84)
CIE-LCHlch(31.25, 50.43, 320.85°)
OKLaboklab(42.4% 0.1011 -0.0888)
OKLCHoklch(42.4% 0.135 318.7)
XYZxyz(10.8789, 6.7577, 19.7962)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C307C #407C30
analogous
#46307C #6C307C #7C3066
triadic
#6C307C #7C6C30 #307C6C
tetradic
#6C307C #7C4630 #407C30 #30667C
square
#6C307C #7C4630 #407C30 #30667C
split-complementary
#6C307C #667C30 #307C46
monochromatic
#1F0E24 #461F50 #6C307C #9241A8 #AF64C3

Accessibility & contrast

On white

8.93
#6C307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C307C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C307C#FFFFFF#000000##FFFFFF
##6C307C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c307c;
/* rgb */ color: rgb(108, 48, 124);
/* oklch */ color: oklch(42.4% 0.135 318.7);
Tailwind
colors: {
  custom: {
    50: '#986ca2',
    500: '#6c307c',
    950: '#000000',
  },
}
SCSS
$custom: #6c307c;
$custom-light: #986ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c307c",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 287.368,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.13454,
    "h": 318.7
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#6C307C
secondary
#6EAA5E
accent
#D4546F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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