#6A1FA9#6A1FA9

#6A1FA9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.201 H 303.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6A1FA9
RGBrgb(106, 31, 169)
HSLhsl(273, 69%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(37.3%, 81.7%, 0%, 33.7%)
CIE-LABlab(31.60, 56.31, -58.93)
CIE-LCHlch(31.60, 81.51, 313.70°)
OKLaboklab(43.61% 0.1099 -0.1682)
OKLCHoklch(43.61% 0.201 303.2)
XYZxyz(13.5936, 6.9087, 38.1458)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1FA9 #5EA91F
analogous
#251FA9 #6A1FA9 #A91FA3
triadic
#6A1FA9 #A96A1F #1FA96A
tetradic
#6A1FA9 #A9251F #5EA91F #1FA3A9
square
#6A1FA9 #A9251F #5EA91F #1FA3A9
split-complementary
#6A1FA9 #A3A91F #1FA925
monochromatic
#290C42 #4A1675 #6A1FA9 #8A2DD8 #A760E2

Accessibility & contrast

On white

8.82
#6A1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A1FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1FA9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1FA9#FFFFFF#000000##FFFFFF
##6A1FA91.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5D4565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1fa9;
/* rgb */ color: rgb(106, 31, 169);
/* oklch */ color: oklch(43.6% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#9b65c4',
    500: '#6a1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6a1fa9;
$custom-light: #9b65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1fa9",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 272.609,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.20092,
    "h": 303.2
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#6A1FA9
secondary
#8DC75D
accent
#EC3C8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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