#6D34B6#6D34B6

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

Color values

HEX#6D34B6
RGBrgb(109, 52, 182)
HSLhsl(266, 56%, 46%)
HSVhsv(266, 71%, 71%)
CMYKcmyk(40.1%, 71.4%, 0%, 28.6%)
CIE-LABlab(36.15, 51.17, -59.24)
CIE-LCHlch(36.15, 78.28, 310.82°)
OKLaboklab(47.23% 0.0928 -0.1692)
OKLCHoklch(47.23% 0.193 298.7)
XYZxyz(15.9760, 9.0844, 45.1587)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34B6 #7DB634
analogous
#343CB6 #6D34B6 #AE34B6
triadic
#6D34B6 #B66D34 #34B66D
tetradic
#6D34B6 #B6343C #7DB634 #34B6AE
square
#6D34B6 #B6343C #7DB634 #34B6AE
split-complementary
#6D34B6 #B6AE34 #3CB634
monochromatic
#341957 #502686 #6D34B6 #8C58CF #AD88DD

Accessibility & contrast

On white

7.45
#6D34B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D34B6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34B6#FFFFFF#000000##FFFFFF
##6D34B61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#5B5471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d34b6;
/* rgb */ color: rgb(109, 52, 182);
/* oklch */ color: oklch(47.2% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#9d70cd',
    500: '#6d34b6',
    950: '#000000',
  },
}
SCSS
$custom: #6d34b6;
$custom-light: #9d70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34b6",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 266.308,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.19296,
    "h": 298.7
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#6D34B6
secondary
#A7C77F
accent
#DF499D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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