#6D319B#6D319B

#6D319B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.167 H 306.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6D319B
RGBrgb(109, 49, 155)
HSLhsl(274, 52%, 40%)
HSVhsv(274, 68%, 61%)
CMYKcmyk(29.7%, 68.4%, 0%, 39.2%)
CIE-LABlab(33.59, 45.95, -47.20)
CIE-LCHlch(33.59, 65.87, 314.23°)
OKLaboklab(44.77% 0.1001 -0.1338)
OKLCHoklch(44.77% 0.167 306.8)
XYZxyz(13.3201, 7.8145, 31.8106)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D319B #5F9B31
analogous
#38319B #6D319B #9B3194
triadic
#6D319B #9B6D31 #319B6D
tetradic
#6D319B #9B3831 #5F9B31 #31949B
square
#6D319B #9B3831 #5F9B31 #31949B
split-complementary
#6D319B #949B31 #319B38
monochromatic
#2C143E #4C226D #6D319B #8D45C4 #A973D3

Accessibility & contrast

On white

8.19
#6D319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D319B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D319B#FFFFFF#000000##FFFFFF
##6D319B1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#164F99
Tritanopia (blue-blind)
#654862
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d319b;
/* rgb */ color: rgb(109, 49, 155);
/* oklch */ color: oklch(44.8% 0.167 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b6eb9',
    500: '#6d319b',
    950: '#000000',
  },
}
SCSS
$custom: #6d319b;
$custom-light: #9b6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d319b",
  "rgb": {
    "r": 109,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 273.962,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.16706,
    "h": 306.8
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#6D319B
secondary
#8FBB6D
accent
#DB4C8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D319B

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

Preview Lab → · Contrast checker → · Palette generator →

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