#6B2AA5#6B2AA5

#6B2AA5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.186 H 303.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA5
RGBrgb(107, 42, 165)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(35.2%, 74.5%, 0%, 35.3%)
CIE-LABlab(32.92, 51.20, -54.36)
CIE-LCHlch(32.92, 74.68, 313.28°)
OKLaboklab(44.46% 0.103 -0.1548)
OKLCHoklch(44.46% 0.186 303.6)
XYZxyz(13.6813, 7.4984, 36.3166)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA5 #64A52A
analogous
#2D2AA5 #6B2AA5 #A52AA1
triadic
#6B2AA5 #A56B2A #2AA56B
tetradic
#6B2AA5 #A52D2A #64A52A #2AA1A5
square
#6B2AA5 #A52D2A #64A52A #2AA1A5
split-complementary
#6B2AA5 #A1A52A #2AA52D
monochromatic
#2C1143 #4B1E74 #6B2AA5 #8A3ECE #A86FDA

Accessibility & contrast

On white

8.40
#6B2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6B2AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AA5
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA5#FFFFFF#000000##FFFFFF
##6B2AA51.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5F4865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2aa5;
/* rgb */ color: rgb(107, 42, 165);
/* oklch */ color: oklch(44.5% 0.186 303.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6b2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa5;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa5",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 271.707,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.18599,
    "h": 303.6
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#6B2AA5
secondary
#93C169
accent
#E3458F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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