#6D34B9#6D34B9

#6D34B9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.196 H 298.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6D34B9
RGBrgb(109, 52, 185)
HSLhsl(266, 56%, 46%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(41.1%, 71.9%, 0%, 27.5%)
CIE-LABlab(36.38, 51.93, -60.63)
CIE-LCHlch(36.38, 79.83, 310.58°)
OKLaboklab(47.47% 0.0922 -0.1732)
OKLCHoklch(47.47% 0.196 298)
XYZxyz(16.2894, 9.2097, 46.8090)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34B9 #80B934
analogous
#343EB9 #6D34B9 #B034B9
triadic
#6D34B9 #B96D34 #34B96D
tetradic
#6D34B9 #B9343E #80B934 #34B9B0
square
#6D34B9 #B9343E #80B934 #34B9B0
split-complementary
#6D34B9 #B9B034 #3EB934
monochromatic
#351959 #512789 #6D34B9 #8D5AD1 #AE89DE

Accessibility & contrast

On white

7.39
#6D34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6D34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34B9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34B9#FFFFFF#000000##FFFFFF
##6D34B91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#5A5573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d34b9;
/* rgb */ color: rgb(109, 52, 185);
/* oklch */ color: oklch(47.5% 0.196 298.0);
Tailwind
colors: {
  custom: {
    50: '#9d70cf',
    500: '#6d34b9',
    950: '#000000',
  },
}
SCSS
$custom: #6d34b9;
$custom-light: #9d70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34b9",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 265.714,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.19625,
    "h": 298
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#6D34B9
secondary
#A9C881
accent
#DF489F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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