#6B319F#6B319F

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

Color values

HEX#6B319F
RGBrgb(107, 49, 159)
HSLhsl(272, 53%, 41%)
HSVhsv(272, 69%, 62%)
CMYKcmyk(32.7%, 69.2%, 0%, 37.6%)
CIE-LABlab(33.62, 46.48, -49.60)
CIE-LCHlch(33.62, 67.98, 313.14°)
OKLaboklab(44.82% 0.0968 -0.1409)
OKLCHoklch(44.82% 0.171 304.5)
XYZxyz(13.4183, 7.8257, 33.5978)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B319F #659F31
analogous
#34319F #6B319F #9F319C
triadic
#6B319F #9F6B31 #319F6B
tetradic
#6B319F #9F3431 #659F31 #319C9F
square
#6B319F #9F3431 #659F31 #319C9F
split-complementary
#6B319F #9C9F31 #319F34
monochromatic
#2C1441 #4C2370 #6B319F #8A47C6 #A876D5

Accessibility & contrast

On white

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

On black

2.57
#6B319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6B319F#FFFFFF#000000##FFFFFF
##6B319F1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b319f;
/* rgb */ color: rgb(107, 49, 159);
/* oklch */ color: oklch(44.8% 0.171 304.5);
Tailwind
colors: {
  custom: {
    50: '#9a6ebc',
    500: '#6b319f',
    950: '#000000',
  },
}
SCSS
$custom: #6b319f;
$custom-light: #9a6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b319f",
  "rgb": {
    "r": 107,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 271.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.17094,
    "h": 304.5
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#6B319F
secondary
#94BD6F
accent
#DC4C90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B319F

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

Preview Lab → · Contrast checker → · Palette generator →

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