#6B2AA4#6B2AA4

#6B2AA4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.185 H 303.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA4
RGBrgb(107, 42, 164)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(34.8%, 74.4%, 0%, 35.7%)
CIE-LABlab(32.84, 50.96, -53.89)
CIE-LCHlch(32.84, 74.17, 313.40°)
OKLaboklab(44.38% 0.1032 -0.1534)
OKLCHoklch(44.38% 0.185 303.9)
XYZxyz(13.5907, 7.4621, 35.8391)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA4 #63A42A
analogous
#2E2AA4 #6B2AA4 #A42AA0
triadic
#6B2AA4 #A46B2A #2AA46B
tetradic
#6B2AA4 #A42E2A #63A42A #2AA0A4
square
#6B2AA4 #A42E2A #63A42A #2AA0A4
split-complementary
#6B2AA4 #A0A42A #2AA42E
monochromatic
#2B1143 #4B1E73 #6B2AA4 #8A3ECD #A86EDA

Accessibility & contrast

On white

8.43
#6B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6B2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AA4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA4#FFFFFF#000000##FFFFFF
##6B2AA41.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#604865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2aa4;
/* rgb */ color: rgb(107, 42, 164);
/* oklch */ color: oklch(44.4% 0.185 303.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ac0',
    500: '#6b2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa4;
$custom-light: #9b6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa4",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 271.967,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.18494,
    "h": 303.9
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#6B2AA4
secondary
#92C169
accent
#E2458F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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