#6A34BA#6A34BA

#6A34BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.197 H 296.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6A34BA
RGBrgb(106, 52, 186)
HSLhsl(264, 56%, 47%)
HSVhsv(264, 72%, 73%)
CMYKcmyk(43%, 72%, 0%, 27.1%)
CIE-LABlab(36.11, 51.66, -61.68)
CIE-LCHlch(36.11, 80.45, 309.94°)
OKLaboklab(47.22% 0.0877 -0.1764)
OKLCHoklch(47.22% 0.197 296.4)
XYZxyz(16.0324, 9.0650, 47.3499)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34BA #84BA34
analogous
#3441BA #6A34BA #AD34BA
triadic
#6A34BA #BA6A34 #34BA6A
tetradic
#6A34BA #BA3441 #84BA34 #34BAAD
square
#6A34BA #BA3441 #84BA34 #34BAAD
split-complementary
#6A34BA #BAAD34 #41BA34
monochromatic
#33195A #4F278A #6A34BA #8A5AD1 #AC8ADE

Accessibility & contrast

On white

7.47
#6A34BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6A34BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34BA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34BA#FFFFFF#000000##FFFFFF
##6A34BA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#555674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a34ba;
/* rgb */ color: rgb(106, 52, 186);
/* oklch */ color: oklch(47.2% 0.197 296.4);
Tailwind
colors: {
  custom: {
    50: '#9c70d0',
    500: '#6a34ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a34ba;
$custom-light: #9c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34ba",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 264.179,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47222,
    "c": 0.19704,
    "h": 296.4
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#6A34BA
secondary
#ACC881
accent
#E048A3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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