#6D34B7#6D34B7

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

Color values

HEX#6D34B7
RGBrgb(109, 52, 183)
HSLhsl(266, 56%, 46%)
HSVhsv(266, 72%, 72%)
CMYKcmyk(40.4%, 71.6%, 0%, 28.2%)
CIE-LABlab(36.23, 51.42, -59.70)
CIE-LCHlch(36.23, 78.80, 310.74°)
OKLaboklab(47.31% 0.0926 -0.1705)
OKLCHoklch(47.31% 0.194 298.5)
XYZxyz(16.0797, 9.1259, 45.7049)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34B7 #7EB734
analogous
#343CB7 #6D34B7 #AE34B7
triadic
#6D34B7 #B76D34 #34B76D
tetradic
#6D34B7 #B7343C #7EB734 #34B7AE
square
#6D34B7 #B7343C #7EB734 #34B7AE
split-complementary
#6D34B7 #B7AE34 #3CB734
monochromatic
#341958 #512687 #6D34B7 #8C59D0 #AD88DD

Accessibility & contrast

On white

7.43
#6D34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6D34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34B7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34B7#FFFFFF#000000##FFFFFF
##6D34B71.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#5B5572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d34b7;
/* rgb */ color: rgb(109, 52, 183);
/* oklch */ color: oklch(47.3% 0.194 298.5);
Tailwind
colors: {
  custom: {
    50: '#9d70ce',
    500: '#6d34b7',
    950: '#000000',
  },
}
SCSS
$custom: #6d34b7;
$custom-light: #9d70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34b7",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 266.107,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47309,
    "c": 0.19406,
    "h": 298.5
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#6D34B7
secondary
#A8C780
accent
#DF499E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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