#6B1699#6B1699

#6B1699 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.194 H 309.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6B1699
RGBrgb(107, 22, 153)
HSLhsl(279, 75%, 34%)
HSVhsv(279, 86%, 60%)
CMYKcmyk(30.1%, 85.6%, 0%, 40%)
CIE-LABlab(29.41, 55.78, -52.78)
CIE-LCHlch(29.41, 76.79, 316.58°)
OKLaboklab(41.71% 0.1224 -0.15)
OKLCHoklch(41.71% 0.194 309.2)
XYZxyz(12.0989, 5.9998, 30.6515)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1699 #449916
analogous
#291699 #6B1699 #991686
triadic
#6B1699 #996B16 #16996B
tetradic
#6B1699 #992916 #449916 #168699
square
#6B1699 #992916 #449916 #168699
split-complementary
#6B1699 #869916 #169929
monochromatic
#20072E #460E63 #6B1699 #901ECF #AC45E4

Accessibility & contrast

On white

9.55
#6B1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1699
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1699#FFFFFF#000000##FFFFFF
##6B16991.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#643A5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1699;
/* rgb */ color: rgb(107, 22, 153);
/* oklch */ color: oklch(41.7% 0.194 309.2);
Tailwind
colors: {
  custom: {
    50: '#9b61b8',
    500: '#6b1699',
    950: '#000000',
  },
}
SCSS
$custom: #6b1699;
$custom-light: #9b61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1699",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 278.931,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.19363,
    "h": 309.2
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#6B1699
secondary
#72C546
accent
#F13678
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1699

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

Preview Lab → · Contrast checker → · Palette generator →

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