#6B2AA3#6B2AA3

#6B2AA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.184 H 304.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA3
RGBrgb(107, 42, 163)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(34.4%, 74.2%, 0%, 36.1%)
CIE-LABlab(32.76, 50.72, -53.41)
CIE-LCHlch(32.76, 73.66, 313.52°)
OKLaboklab(44.3% 0.1034 -0.1521)
OKLCHoklch(44.3% 0.184 304.2)
XYZxyz(13.5007, 7.4261, 35.3654)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA3 #62A32A
analogous
#2E2AA3 #6B2AA3 #A32A9F
triadic
#6B2AA3 #A36B2A #2AA36B
tetradic
#6B2AA3 #A32E2A #62A32A #2A9FA3
square
#6B2AA3 #A32E2A #62A32A #2A9FA3
split-complementary
#6B2AA3 #9FA32A #2AA32E
monochromatic
#2B1142 #4B1D72 #6B2AA3 #8A3DCD #A86EDA

Accessibility & contrast

On white

8.45
#6B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2AA3
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA3#FFFFFF#000000##FFFFFF
##6B2AA31.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#604864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2aa3;
/* rgb */ color: rgb(107, 42, 163);
/* oklch */ color: oklch(44.3% 0.184 304.2);
Tailwind
colors: {
  custom: {
    50: '#9a6abf',
    500: '#6b2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa3;
$custom-light: #9a6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa3",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 272.231,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.18391,
    "h": 304.2
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#6B2AA3
secondary
#91C068
accent
#E2468E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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