#6C319F#6C319F

#6C319F is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.171 H 305.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6C319F
RGBrgb(108, 49, 159)
HSLhsl(272, 53%, 41%)
HSVhsv(272, 69%, 62%)
CMYKcmyk(32.1%, 69.2%, 0%, 37.6%)
CIE-LABlab(33.75, 46.70, -49.38)
CIE-LCHlch(33.75, 67.96, 313.40°)
OKLaboklab(44.94% 0.0982 -0.1402)
OKLCHoklch(44.94% 0.171 305)
XYZxyz(13.5393, 7.8881, 33.6034)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C319F #649F31
analogous
#35319F #6C319F #9F319B
triadic
#6C319F #9F6C31 #319F6C
tetradic
#6C319F #9F3531 #649F31 #319B9F
square
#6C319F #9F3531 #649F31 #319B9F
split-complementary
#6C319F #9B9F31 #319F35
monochromatic
#2C1441 #4C2370 #6C319F #8B47C6 #A976D5

Accessibility & contrast

On white

8.15
#6C319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6C319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C319F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C319F#FFFFFF#000000##FFFFFF
##6C319F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#084F9D
Tritanopia (blue-blind)
#634A64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c319f;
/* rgb */ color: rgb(108, 49, 159);
/* oklch */ color: oklch(44.9% 0.171 305.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ebc',
    500: '#6c319f',
    950: '#000000',
  },
}
SCSS
$custom: #6c319f;
$custom-light: #9a6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c319f",
  "rgb": {
    "r": 108,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 272.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44942,
    "c": 0.17118,
    "h": 305
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#6C319F
secondary
#93BD6F
accent
#DC4C8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6C319F

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

Preview Lab → · Contrast checker → · Palette generator →

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