#6A34B9#6A34B9

#6A34B9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.196 H 296.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6A34B9
RGBrgb(106, 52, 185)
HSLhsl(264, 56%, 46%)
HSVhsv(264, 72%, 73%)
CMYKcmyk(42.7%, 71.9%, 0%, 27.5%)
CIE-LABlab(36.03, 51.40, -61.22)
CIE-LCHlch(36.03, 79.94, 310.01°)
OKLaboklab(47.14% 0.0879 -0.1751)
OKLCHoklch(47.14% 0.196 296.7)
XYZxyz(15.9265, 9.0226, 46.7920)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34B9 #83B934
analogous
#3441B9 #6A34B9 #AD34B9
triadic
#6A34B9 #B96A34 #34B96A
tetradic
#6A34B9 #B93441 #83B934 #34B9AD
square
#6A34B9 #B93441 #83B934 #34B9AD
split-complementary
#6A34B9 #B9AD34 #41B934
monochromatic
#331959 #4F2789 #6A34B9 #8A5AD1 #AC89DE

Accessibility & contrast

On white

7.49
#6A34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34B9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34B9#FFFFFF#000000##FFFFFF
##6A34B91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#555673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a34b9;
/* rgb */ color: rgb(106, 52, 185);
/* oklch */ color: oklch(47.1% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#9b70cf',
    500: '#6a34b9',
    950: '#000000',
  },
}
SCSS
$custom: #6a34b9;
$custom-light: #9b70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34b9",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 264.361,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.19592,
    "h": 296.7
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#6A34B9
secondary
#ABC881
accent
#DF48A2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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