#6B2FA9#6B2FA9

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

Color values

HEX#6B2FA9
RGBrgb(107, 47, 169)
HSLhsl(270, 56%, 42%)
HSVhsv(270, 72%, 66%)
CMYKcmyk(36.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(34.03, 49.90, -54.95)
CIE-LCHlch(34.03, 74.23, 312.24°)
OKLaboklab(45.35% 0.0973 -0.1566)
OKLCHoklch(45.35% 0.184 301.9)
XYZxyz(14.2396, 8.0233, 38.3269)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FA9 #6DA92F
analogous
#2F30A9 #6B2FA9 #A82FA9
triadic
#6B2FA9 #A96B2F #2FA96B
tetradic
#6B2FA9 #A92F30 #6DA92F #2FA9A8
square
#6B2FA9 #A92F30 #6DA92F #2FA9A8
split-complementary
#6B2FA9 #A9A82F #30A92F
monochromatic
#2E1449 #4D2279 #6B2FA9 #8A49CC #A879DA

Accessibility & contrast

On white

8.06
#6B2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6B2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2FA9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FA9#FFFFFF#000000##FFFFFF
##6B2FA91.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2fa9;
/* rgb */ color: rgb(107, 47, 169);
/* oklch */ color: oklch(45.4% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#9b6dc3',
    500: '#6b2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fa9;
$custom-light: #9b6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fa9",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 269.508,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.18439,
    "h": 301.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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