#6A169F#6A169F

#6A169F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.1% C 0.199 H 306.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6A169F
RGBrgb(106, 22, 159)
HSLhsl(277, 76%, 35%)
HSVhsv(277, 86%, 62%)
CMYKcmyk(33.3%, 86.2%, 0%, 37.6%)
CIE-LABlab(29.77, 56.92, -55.87)
CIE-LCHlch(29.77, 79.76, 315.53°)
OKLaboklab(42.08% 0.1191 -0.1592)
OKLCHoklch(42.08% 0.199 306.8)
XYZxyz(12.4874, 6.1413, 33.3217)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A169F #4B9F16
analogous
#25169F #6A169F #9F1690
triadic
#6A169F #9F6A16 #169F6A
tetradic
#6A169F #9F2516 #4B9F16 #16909F
square
#6A169F #9F2516 #4B9F16 #16909F
split-complementary
#6A169F #909F16 #169F25
monochromatic
#220733 #460F69 #6A169F #8E1DD5 #A94AE6

Accessibility & contrast

On white

9.42
#6A169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A169F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A169F#FFFFFF#000000##FFFFFF
##6A169F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a169f;
/* rgb */ color: rgb(106, 22, 159);
/* oklch */ color: oklch(42.1% 0.199 306.8);
Tailwind
colors: {
  custom: {
    50: '#9a61bc',
    500: '#6a169f',
    950: '#000000',
  },
}
SCSS
$custom: #6a169f;
$custom-light: #9a61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a169f",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 276.788,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.1988,
    "h": 306.8
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#6A169F
secondary
#7AC74A
accent
#F2367F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A169F

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

Preview Lab → · Contrast checker → · Palette generator →

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