#6B2AA2#6B2AA2

#6B2AA2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.183 H 304.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA2
RGBrgb(107, 42, 162)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(34%, 74.1%, 0%, 36.5%)
CIE-LABlab(32.68, 50.48, -52.94)
CIE-LCHlch(32.68, 73.15, 313.64°)
OKLaboklab(44.22% 0.1036 -0.1506)
OKLCHoklch(44.22% 0.183 304.5)
XYZxyz(13.4115, 7.3904, 34.8954)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA2 #61A22A
analogous
#2F2AA2 #6B2AA2 #A22A9D
triadic
#6B2AA2 #A26B2A #2AA26B
tetradic
#6B2AA2 #A22F2A #61A22A #2A9DA2
square
#6B2AA2 #A22F2A #61A22A #2A9DA2
split-complementary
#6B2AA2 #9DA22A #2AA22F
monochromatic
#2B1141 #4B1D71 #6B2AA2 #8B3DCD #A86DD9

Accessibility & contrast

On white

8.47
#6B2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6B2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AA2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA2#FFFFFF#000000##FFFFFF
##6B2AA21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#604764
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2aa2;
/* rgb */ color: rgb(107, 42, 162);
/* oklch */ color: oklch(44.2% 0.183 304.5);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6b2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa2;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa2",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 272.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.18286,
    "h": 304.5
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#6B2AA2
secondary
#90C068
accent
#E2468D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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