#6D34BA#6D34BA

#6D34BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.197 H 297.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6D34BA
RGBrgb(109, 52, 186)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(41.4%, 72%, 0%, 27.1%)
CIE-LABlab(36.47, 52.19, -61.09)
CIE-LCHlch(36.47, 80.34, 310.51°)
OKLaboklab(47.55% 0.092 -0.1746)
OKLCHoklch(47.55% 0.197 297.8)
XYZxyz(16.3953, 9.2521, 47.3669)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34BA #81BA34
analogous
#343EBA #6D34BA #B034BA
triadic
#6D34BA #BA6D34 #34BA6D
tetradic
#6D34BA #BA343E #81BA34 #34BAB0
square
#6D34BA #BA343E #81BA34 #34BAB0
split-complementary
#6D34BA #BAB034 #3EBA34
monochromatic
#35195A #51278A #6D34BA #8D5AD1 #AE8ADE

Accessibility & contrast

On white

7.37
#6D34BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6D34BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34BA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34BA#FFFFFF#000000##FFFFFF
##6D34BA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#5A5674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d34ba;
/* rgb */ color: rgb(109, 52, 186);
/* oklch */ color: oklch(47.6% 0.197 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d70d0',
    500: '#6d34ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d34ba;
$custom-light: #9d70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34ba",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 265.522,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.19735,
    "h": 297.8
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#6D34BA
secondary
#AAC881
accent
#E0489F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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