#6B2FA3#6B2FA3

#6B2FA3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.178 H 303.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6B2FA3
RGBrgb(107, 47, 163)
HSLhsl(271, 55%, 41%)
HSVhsv(271, 71%, 64%)
CMYKcmyk(34.4%, 71.2%, 0%, 36.1%)
CIE-LABlab(33.57, 48.43, -52.10)
CIE-LCHlch(33.57, 71.13, 312.91°)
OKLaboklab(44.88% 0.0984 -0.1482)
OKLCHoklch(44.88% 0.178 303.6)
XYZxyz(13.6893, 7.8032, 35.4282)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FA3 #67A32F
analogous
#312FA3 #6B2FA3 #A32FA1
triadic
#6B2FA3 #A36B2F #2FA36B
tetradic
#6B2FA3 #A3312F #67A32F #2FA1A3
square
#6B2FA3 #A3312F #67A32F #2FA1A3
split-complementary
#6B2FA3 #A1A32F #2FA331
monochromatic
#2D1444 #4C2173 #6B2FA3 #8A46CA #A875D7

Accessibility & contrast

On white

8.20
#6B2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6B2FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2FA3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FA3#FFFFFF#000000##FFFFFF
##6B2FA31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#604A66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2fa3;
/* rgb */ color: rgb(107, 47, 163);
/* oklch */ color: oklch(44.9% 0.178 303.6);
Tailwind
colors: {
  custom: {
    50: '#9a6dbf',
    500: '#6b2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fa3;
$custom-light: #9a6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fa3",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 271.034,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.17789,
    "h": 303.6
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#6B2FA3
secondary
#96BF6F
accent
#DF4991
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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