#6A2FA9#6A2FA9

#6A2FA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.184 H 301.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6A2FA9
RGBrgb(106, 47, 169)
HSLhsl(269, 56%, 42%)
HSVhsv(269, 72%, 66%)
CMYKcmyk(37.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(33.90, 49.71, -55.17)
CIE-LCHlch(33.90, 74.26, 312.02°)
OKLaboklab(45.23% 0.0959 -0.1573)
OKLCHoklch(45.23% 0.184 301.4)
XYZxyz(14.1201, 7.9617, 38.3213)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FA9 #6EA92F
analogous
#2F31A9 #6A2FA9 #A72FA9
triadic
#6A2FA9 #A96A2F #2FA96A
tetradic
#6A2FA9 #A92F31 #6EA92F #2FA9A7
square
#6A2FA9 #A92F31 #6EA92F #2FA9A7
split-complementary
#6A2FA9 #A9A72F #31A92F
monochromatic
#2E1449 #4C2279 #6A2FA9 #8849CC #A879DA

Accessibility & contrast

On white

8.10
#6A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FA9
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FA9#FFFFFF#000000##FFFFFF
##6A2FA91.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5C4D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2fa9;
/* rgb */ color: rgb(106, 47, 169);
/* oklch */ color: oklch(45.2% 0.184 301.4);
Tailwind
colors: {
  custom: {
    50: '#9a6dc3',
    500: '#6a2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fa9;
$custom-light: #9a6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fa9",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 269.016,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45233,
    "c": 0.18421,
    "h": 301.4
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#6A2FA9
secondary
#9BC272
accent
#E04896
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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