#6C307B#6C307B

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

Color values

HEX#6C307B
RGBrgb(108, 48, 123)
HSLhsl(288, 44%, 34%)
HSVhsv(288, 61%, 48%)
CMYKcmyk(12.2%, 61%, 0%, 51.8%)
CIE-LABlab(31.19, 38.89, -31.30)
CIE-LCHlch(31.19, 49.92, 321.17°)
OKLaboklab(42.34% 0.101 -0.0872)
OKLCHoklch(42.34% 0.133 319.2)
XYZxyz(10.8160, 6.7326, 19.4648)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C307B #3F7B30
analogous
#46307B #6C307B #7B3064
triadic
#6C307B #7B6C30 #307B6C
tetradic
#6C307B #7B4630 #3F7B30 #30647B
square
#6C307B #7B4630 #3F7B30 #30647B
split-complementary
#6C307B #647B30 #307B46
monochromatic
#1F0E23 #451F4F #6C307B #9341A7 #AF63C2

Accessibility & contrast

On white

8.95
#6C307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C307B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C307B#FFFFFF#000000##FFFFFF
##6C307B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#354B79
Tritanopia (blue-blind)
#6C3C51
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c307b;
/* rgb */ color: rgb(108, 48, 123);
/* oklch */ color: oklch(42.3% 0.133 319.2);
Tailwind
colors: {
  custom: {
    50: '#986ca1',
    500: '#6c307b',
    950: '#000000',
  },
}
SCSS
$custom: #6c307b;
$custom-light: #986ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c307b",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 288,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.13348,
    "h": 319.2
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#6C307B
secondary
#6DA95D
accent
#D4546E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C307B

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

Preview Lab → · Contrast checker → · Palette generator →

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