#6A34BB#6A34BB

#6A34BB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.198 H 296.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6A34BB
RGBrgb(106, 52, 187)
HSLhsl(264, 56%, 47%)
HSVhsv(264, 72%, 73%)
CMYKcmyk(43.3%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.19, 51.91, -62.14)
CIE-LCHlch(36.19, 80.97, 309.88°)
OKLaboklab(47.31% 0.0875 -0.1778)
OKLCHoklch(47.31% 0.198 296.2)
XYZxyz(16.1391, 9.1077, 47.9117)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34BB #85BB34
analogous
#3442BB #6A34BB #AE34BB
triadic
#6A34BB #BB6A34 #34BB6A
tetradic
#6A34BB #BB3442 #85BB34 #34BBAE
square
#6A34BB #BB3442 #85BB34 #34BBAE
split-complementary
#6A34BB #BBAE34 #42BB34
monochromatic
#34195B #4F278B #6A34BB #8A5BD1 #AC8BDF

Accessibility & contrast

On white

7.44
#6A34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6A34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34BB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34BB#FFFFFF#000000##FFFFFF
##6A34BB1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#545674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a34bb;
/* rgb */ color: rgb(106, 52, 187);
/* oklch */ color: oklch(47.3% 0.198 296.2);
Tailwind
colors: {
  custom: {
    50: '#9c70d0',
    500: '#6a34bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a34bb;
$custom-light: #9c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34bb",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 264,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.19815,
    "h": 296.2
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#6A34BB
secondary
#ACC982
accent
#E048A3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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