#6A2FA3#6A2FA3

#6A2FA3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.178 H 303.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6A2FA3
RGBrgb(106, 47, 163)
HSLhsl(271, 55%, 41%)
HSVhsv(271, 71%, 64%)
CMYKcmyk(35%, 71.2%, 0%, 36.1%)
CIE-LABlab(33.44, 48.23, -52.31)
CIE-LCHlch(33.44, 71.15, 312.67°)
OKLaboklab(44.76% 0.097 -0.1489)
OKLCHoklch(44.76% 0.178 303.1)
XYZxyz(13.5697, 7.7415, 35.4226)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FA3 #68A32F
analogous
#302FA3 #6A2FA3 #A32FA2
triadic
#6A2FA3 #A36A2F #2FA36A
tetradic
#6A2FA3 #A3302F #68A32F #2FA2A3
square
#6A2FA3 #A3302F #68A32F #2FA2A3
split-complementary
#6A2FA3 #A2A32F #2FA330
monochromatic
#2C1444 #4B2173 #6A2FA3 #8946CA #A775D7

Accessibility & contrast

On white

8.24
#6A2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A2FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FA3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FA3#FFFFFF#000000##FFFFFF
##6A2FA31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#5F4A66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2fa3;
/* rgb */ color: rgb(106, 47, 163);
/* oklch */ color: oklch(44.8% 0.178 303.1);
Tailwind
colors: {
  custom: {
    50: '#9a6dbf',
    500: '#6a2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fa3;
$custom-light: #9a6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fa3",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 270.517,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44758,
    "c": 0.17768,
    "h": 303.1
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#6A2FA3
secondary
#96BF6F
accent
#DF4993
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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