#6A1FAA#6A1FAA

#6A1FAA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.202 H 302.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6A1FAA
RGBrgb(106, 31, 170)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 82%, 67%)
CMYKcmyk(37.6%, 81.8%, 0%, 33.3%)
CIE-LABlab(31.68, 56.54, -59.39)
CIE-LCHlch(31.68, 82.00, 313.60°)
OKLaboklab(43.7% 0.1096 -0.1696)
OKLCHoklch(43.7% 0.202 302.9)
XYZxyz(13.6878, 6.9464, 38.6421)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1FAA #5FAA1F
analogous
#251FAA #6A1FAA #AA1FA5
triadic
#6A1FAA #AA6A1F #1FAA6A
tetradic
#6A1FAA #AA251F #5FAA1F #1FA5AA
square
#6A1FAA #AA251F #5FAA1F #1FA5AA
split-complementary
#6A1FAA #A5AA1F #1FAA25
monochromatic
#290C42 #4A1676 #6A1FAA #8A2DD9 #A761E2

Accessibility & contrast

On white

8.79
#6A1FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A1FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1FAA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1FAA#FFFFFF#000000##FFFFFF
##6A1FAA1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5C4666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a1faa;
/* rgb */ color: rgb(106, 31, 170);
/* oklch */ color: oklch(43.7% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#9b65c4',
    500: '#6a1faa',
    950: '#000000',
  },
}
SCSS
$custom: #6a1faa;
$custom-light: #9b65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1faa",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 272.374,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.20188,
    "h": 302.9
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#6A1FAA
secondary
#8EC75E
accent
#EC3C8D
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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