#6D319F#6D319F

#6D319F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.171 H 305.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6D319F
RGBrgb(109, 49, 159)
HSLhsl(273, 53%, 41%)
HSVhsv(273, 69%, 62%)
CMYKcmyk(31.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(33.88, 46.91, -49.16)
CIE-LCHlch(33.88, 67.95, 313.66°)
OKLaboklab(45.07% 0.0996 -0.1395)
OKLCHoklch(45.07% 0.171 305.5)
XYZxyz(13.6616, 7.9511, 33.6092)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D319F #639F31
analogous
#36319F #6D319F #9F319A
triadic
#6D319F #9F6D31 #319F6D
tetradic
#6D319F #9F3631 #639F31 #319A9F
square
#6D319F #9F3631 #639F31 #319A9F
split-complementary
#6D319F #9A9F31 #319F36
monochromatic
#2D1441 #4D2370 #6D319F #8C47C6 #AA76D5

Accessibility & contrast

On white

8.11
#6D319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D319F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D319F#FFFFFF#000000##FFFFFF
##6D319F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#644A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d319f;
/* rgb */ color: rgb(109, 49, 159);
/* oklch */ color: oklch(45.1% 0.171 305.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ebc',
    500: '#6d319f',
    950: '#000000',
  },
}
SCSS
$custom: #6d319f;
$custom-light: #9b6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d319f",
  "rgb": {
    "r": 109,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 272.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.17144,
    "h": 305.5
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#6D319F
secondary
#92BD6F
accent
#DC4C8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D319F

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

Preview Lab → · Contrast checker → · Palette generator →

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