#6C379D#6C379D

#6C379D is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.161 H 304.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6C379D
RGBrgb(108, 55, 157)
HSLhsl(271, 48%, 42%)
HSVhsv(271, 65%, 62%)
CMYKcmyk(31.2%, 65%, 0%, 38.4%)
CIE-LABlab(34.71, 43.16, -46.62)
CIE-LCHlch(34.71, 63.53, 312.79°)
OKLaboklab(45.59% 0.0914 -0.1321)
OKLCHoklch(45.59% 0.161 304.7)
XYZxyz(13.6350, 8.3549, 32.7861)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C379D #689D37
analogous
#39379D #6C379D #9D379B
triadic
#6C379D #9D6C37 #379D6C
tetradic
#6C379D #9D3937 #689D37 #379B9D
square
#6C379D #9D3937 #689D37 #379B9D
split-complementary
#6C379D #9B9D37 #379D39
monochromatic
#2E1742 #4D2770 #6C379D #8B50C2 #A97DD1

Accessibility & contrast

On white

7.86
#6C379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6C379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C379D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C379D#FFFFFF#000000##FFFFFF
##6C379D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#634D65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c379d;
/* rgb */ color: rgb(108, 55, 157);
/* oklch */ color: oklch(45.6% 0.161 304.7);
Tailwind
colors: {
  custom: {
    50: '#9a71bb',
    500: '#6c379d',
    950: '#000000',
  },
}
SCSS
$custom: #6c379d;
$custom-light: #9a71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c379d",
  "rgb": {
    "r": 108,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 271.176,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.16068,
    "h": 304.7
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#6C379D
secondary
#97BB75
accent
#D85091
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C379D

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

Preview Lab → · Contrast checker → · Palette generator →

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