#6B2FA1#6B2FA1

#6B2FA1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.176 H 304.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6B2FA1
RGBrgb(107, 47, 161)
HSLhsl(272, 55%, 41%)
HSVhsv(272, 71%, 63%)
CMYKcmyk(33.5%, 70.8%, 0%, 36.9%)
CIE-LABlab(33.42, 47.94, -51.13)
CIE-LCHlch(33.42, 70.09, 313.15°)
OKLaboklab(44.72% 0.0987 -0.1454)
OKLCHoklch(44.72% 0.176 304.2)
XYZxyz(13.5115, 7.7321, 34.4919)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FA1 #65A12F
analogous
#322FA1 #6B2FA1 #A12F9E
triadic
#6B2FA1 #A16B2F #2FA16B
tetradic
#6B2FA1 #A1322F #65A12F #2F9EA1
square
#6B2FA1 #A1322F #65A12F #2F9EA1
split-complementary
#6B2FA1 #9EA12F #2FA132
monochromatic
#2C1342 #4C2172 #6B2FA1 #8A45C9 #A874D6

Accessibility & contrast

On white

8.25
#6B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2FA1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FA1#FFFFFF#000000##FFFFFF
##6B2FA11.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#614964
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2fa1;
/* rgb */ color: rgb(107, 47, 161);
/* oklch */ color: oklch(44.7% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#9a6dbe',
    500: '#6b2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fa1;
$custom-light: #9a6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fa1",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 271.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44724,
    "c": 0.17572,
    "h": 304.2
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#6B2FA1
secondary
#94BE6E
accent
#DE4A90
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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