#6B169F#6B169F

#6B169F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.199 H 307.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6B169F
RGBrgb(107, 22, 159)
HSLhsl(277, 76%, 35%)
HSVhsv(277, 86%, 62%)
CMYKcmyk(32.7%, 86.2%, 0%, 37.6%)
CIE-LABlab(29.92, 57.07, -55.62)
CIE-LCHlch(29.92, 79.68, 315.74°)
OKLaboklab(42.22% 0.1206 -0.1584)
OKLCHoklch(42.22% 0.199 307.3)
XYZxyz(12.6070, 6.2030, 33.3273)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B169F #4A9F16
analogous
#26169F #6B169F #9F168F
triadic
#6B169F #9F6B16 #169F6B
tetradic
#6B169F #9F2616 #4A9F16 #168F9F
square
#6B169F #9F2616 #4A9F16 #168F9F
split-complementary
#6B169F #8F9F16 #169F26
monochromatic
#230733 #470F69 #6B169F #8F1DD5 #AB4AE6

Accessibility & contrast

On white

9.37
#6B169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B169F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B169F#FFFFFF#000000##FFFFFF
##6B169F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#623D5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b169f;
/* rgb */ color: rgb(107, 22, 159);
/* oklch */ color: oklch(42.2% 0.199 307.3);
Tailwind
colors: {
  custom: {
    50: '#9b61bc',
    500: '#6b169f',
    950: '#000000',
  },
}
SCSS
$custom: #6b169f;
$custom-light: #9b61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b169f",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 277.226,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.19904,
    "h": 307.3
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#6B169F
secondary
#79C74A
accent
#F2367D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B169F

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

Preview Lab → · Contrast checker → · Palette generator →

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