#6B2AA1#6B2AA1

#6B2AA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.182 H 304.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA1
RGBrgb(107, 42, 161)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 63%)
CMYKcmyk(33.5%, 73.9%, 0%, 36.9%)
CIE-LABlab(32.60, 50.24, -52.46)
CIE-LCHlch(32.60, 72.64, 313.76°)
OKLaboklab(44.14% 0.1038 -0.1492)
OKLCHoklch(44.14% 0.182 304.8)
XYZxyz(13.3229, 7.3550, 34.4291)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA1 #60A12A
analogous
#2F2AA1 #6B2AA1 #A12A9C
triadic
#6B2AA1 #A16B2A #2AA16B
tetradic
#6B2AA1 #A12F2A #60A12A #2A9CA1
square
#6B2AA1 #A12F2A #60A12A #2A9CA1
split-complementary
#6B2AA1 #9CA12A #2AA12F
monochromatic
#2A1140 #4B1D70 #6B2AA1 #8B3CCC #A86DD9

Accessibility & contrast

On white

8.50
#6B2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6B2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AA1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA1#FFFFFF#000000##FFFFFF
##6B2AA11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#614763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2aa1;
/* rgb */ color: rgb(107, 42, 161);
/* oklch */ color: oklch(44.1% 0.182 304.8);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6b2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa1;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa1",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 272.773,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.18181,
    "h": 304.8
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#6B2AA1
secondary
#8FC067
accent
#E2468D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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