#6B169D#6B169D

#6B169D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.197 H 307.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6B169D
RGBrgb(107, 22, 157)
HSLhsl(278, 75%, 35%)
HSVhsv(278, 86%, 62%)
CMYKcmyk(31.8%, 86%, 0%, 38.4%)
CIE-LABlab(29.75, 56.64, -54.68)
CIE-LCHlch(29.75, 78.72, 316.01°)
OKLaboklab(42.05% 0.1212 -0.1556)
OKLCHoklch(42.05% 0.197 307.9)
XYZxyz(12.4348, 6.1341, 32.4207)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B169D #489D16
analogous
#28169D #6B169D #9D168B
triadic
#6B169D #9D6B16 #169D6B
tetradic
#6B169D #9D2816 #489D16 #168B9D
square
#6B169D #9D2816 #489D16 #168B9D
split-complementary
#6B169D #8B9D16 #169D28
monochromatic
#220732 #460E67 #6B169D #901ED3 #AB48E5

Accessibility & contrast

On white

9.43
#6B169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B169D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B169D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B169D#FFFFFF#000000##FFFFFF
##6B169D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#633C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b169d;
/* rgb */ color: rgb(107, 22, 157);
/* oklch */ color: oklch(42.0% 0.197 307.9);
Tailwind
colors: {
  custom: {
    50: '#9b61bb',
    500: '#6b169d',
    950: '#000000',
  },
}
SCSS
$custom: #6b169d;
$custom-light: #9b61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b169d",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 277.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.19723,
    "h": 307.9
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#6B169D
secondary
#77C748
accent
#F2367B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B169D

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

Preview Lab → · Contrast checker → · Palette generator →

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