#6B3A8A#6B3A8A

#6B3A8A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.134 H 310.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6B3A8A
RGBrgb(107, 58, 138)
HSLhsl(277, 41%, 38%)
HSVhsv(277, 58%, 54%)
CMYKcmyk(22.5%, 58%, 0%, 45.9%)
CIE-LABlab(33.96, 36.64, -36.24)
CIE-LCHlch(33.96, 51.53, 315.31°)
OKLaboklab(44.62% 0.0865 -0.1017)
OKLCHoklch(44.62% 0.134 310.4)
XYZxyz(12.1630, 7.9871, 24.9408)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3A8A #598A3A
analogous
#433A8A #6B3A8A #8A3A81
triadic
#6B3A8A #8A6B3A #3A8A6B
tetradic
#6B3A8A #8A433A #598A3A #3A818A
square
#6B3A8A #8A433A #598A3A #3A818A
split-complementary
#6B3A8A #818A3A #3A8A43
monochromatic
#281634 #4A285F #6B3A8A #8C4DB4 #A878C6

Accessibility & contrast

On white

8.09
#6B3A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6B3A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3A8A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3A8A#FFFFFF#000000##FFFFFF
##6B3A8A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#67485C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b3a8a;
/* rgb */ color: rgb(107, 58, 138);
/* oklch */ color: oklch(44.6% 0.134 310.4);
Tailwind
colors: {
  custom: {
    50: '#9872ac',
    500: '#6b3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b3a8a;
$custom-light: #9872ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3a8a",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 276.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.13351,
    "h": 310.4
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#6B3A8A
secondary
#89B070
accent
#D15786
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6B3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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